Use native tag sizeing

This commit is contained in:
Grzegorz Leoniec 2019-01-17 14:45:57 +01:00
parent e048771125
commit 912ff6f645
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377
2 changed files with 6 additions and 3 deletions

View File

@ -59,8 +59,9 @@
<ds-icon name="comments" />
<ds-tag
v-if="post.commentsCount"
style="transform: scale(.8); margin-top: -4px; margin-left: -12px; position: absolute;"
style="margin-top: -4px; margin-left: -12px; position: absolute;"
color="primary"
size="small"
round
>
{{ post.commentsCount }}

View File

@ -209,8 +209,9 @@ Here we apply a section footer without margin
<div slot="footer" class="no-margin">
<ds-icon name="comments" />
<ds-tag
style="transform: scale(.8); margin-top: -4px; margin-left: -7px; position: absolute;"
style="margin-top: -4px; margin-left: -7px; position: absolute;"
color="primary"
size="small"
round>
2
</ds-tag>
@ -226,8 +227,9 @@ Here we apply a section footer without margin
<div slot="footer" class="no-margin">
<ds-icon name="comments" />
<ds-tag
style="transform: scale(.8); margin-top: -4px; margin-left: -7px; position: absolute;"
style="margin-top: -4px; margin-left: -7px; position: absolute;"
color="primary"
size="small"
round>
34
</ds-tag>