]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
improve tag icon spacing (#987)
authorTim MacDonald <tim.mac7@me.com>
Wed, 18 Oct 2017 09:39:34 +0000 (20:39 +1100)
committerJeremy Thomas <bbxdesign@gmail.com>
Wed, 18 Oct 2017 09:39:34 +0000 (10:39 +0100)
sass/elements/tag.sass

index e3c368904d79b60533605730c3e03cca332b1e20..ea89e162198bb181ae285f671e63a75976365c6a 100644 (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