mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
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:
@@ -10,6 +10,8 @@ variables:
|
||||
value: $text
|
||||
- name: $tag-radius
|
||||
value: $radius
|
||||
- name: $tag-delete-margin
|
||||
value: 1px
|
||||
---
|
||||
|
||||
{% capture tag %}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user