Remove gap between tag and delete button (#1090)

* Remove gap between tag and delete button

* add tag-delete-margin variable

* tab -> spaces

* add tag-delete-margin to docs
This commit is contained in:
balping
2017-08-19 16:39:15 +02:00
committed by Jeremy Thomas
parent 4cbc591616
commit 15f8a0afc9
2 changed files with 4 additions and 1 deletions

View File

@@ -10,6 +10,8 @@ variables:
value: $text value: $text
- name: $tag-radius - name: $tag-radius
value: $radius value: $radius
- name: $tag-delete-margin
value: 1px
--- ---
{% capture tag %} {% capture tag %}

View File

@@ -1,6 +1,7 @@
$tag-background-color: $background !default $tag-background-color: $background !default
$tag-color: $text !default $tag-color: $text !default
$tag-radius: $radius !default $tag-radius: $radius !default
$tag-delete-margin: 1px !default
.tags .tags
align-items: center align-items: center
@@ -55,7 +56,7 @@ $tag-radius: $radius !default
font-size: $size-medium font-size: $size-medium
// Modifiers // Modifiers
&.is-delete &.is-delete
margin-left: 1px margin-left: $tag-delete-margin
padding: 0 padding: 0
position: relative position: relative
width: 2em width: 2em