improve tag icon spacing (#987)

This commit is contained in:
Tim MacDonald 2017-10-18 20:39:34 +11:00 committed by Jeremy Thomas
parent 5cc368d280
commit 81609cd8c6

View File

@ -54,6 +54,16 @@ $tag-delete-margin: 1px !default
font-size: $size-normal
&.is-large
font-size: $size-medium
.icon
&:first-child:not(:last-child)
margin-left: -0.375em
margin-right: 0.1875em
&:last-child:not(:first-child)
margin-left: 0.1875em
margin-right: -0.375em
&:first-child:last-child
margin-left: -0.375em
margin-right: -0.375em
// Modifiers
&.is-delete
margin-left: $tag-delete-margin