mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 04:14: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
|
value: $text
|
||||||
- name: $tag-radius
|
- name: $tag-radius
|
||||||
value: $radius
|
value: $radius
|
||||||
|
- name: $tag-delete-margin
|
||||||
|
value: 1px
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture tag %}
|
{% capture tag %}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user