]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Remove gap between tag and delete button (#1090)
authorbalping <balping314@gmail.com>
Sat, 19 Aug 2017 14:39:15 +0000 (16:39 +0200)
committerJeremy Thomas <bbxdesign@gmail.com>
Sat, 19 Aug 2017 14:39:15 +0000 (15:39 +0100)
* Remove gap between tag and delete button

* add tag-delete-margin variable

* tab -> spaces

* add tag-delete-margin to docs

docs/documentation/elements/tag.html
sass/elements/tag.sass

index 7bce6bfd67455d4db44c822da81697cad20dc81f..7b2eb619a313f2524044a515fb21abfe598183f9 100644 (file)
@@ -10,6 +10,8 @@ variables:
   value: $text
 - name: $tag-radius
   value: $radius
+- name: $tag-delete-margin
+  value: 1px
 ---
 
 {% capture tag %}
index 380f1043a38eb51261ec63a41034219bea45a8d6..14570b43b3149832b4cad7f130bc14c466456cba 100755 (executable)
@@ -1,6 +1,7 @@
 $tag-background-color: $background !default
 $tag-color: $text !default
 $tag-radius: $radius !default
+$tag-delete-margin: 1px !default
 
 .tags
   align-items: center
@@ -55,7 +56,7 @@ $tag-radius: $radius !default
     font-size: $size-medium
   // Modifiers
   &.is-delete
-    margin-left: 1px
+    margin-left: $tag-delete-margin
     padding: 0
     position: relative
     width: 2em