mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00: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:
parent
4cbc591616
commit
15f8a0afc9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user