diff options
author | Volpeon <git@volpeon.ink> | 2023-10-30 17:01:45 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-10-30 17:01:45 +0100 |
commit | 36750a6a4a05a28980d46cf895faf50ef35fb5dc (patch) | |
tree | 97dcc344c944884cdb0304c0067da43f61d4cba4 /src/objects/_badge.scss | |
parent | Fixed badge line height (diff) | |
download | iro-design-36750a6a4a05a28980d46cf895faf50ef35fb5dc.tar.gz iro-design-36750a6a4a05a28980d46cf895faf50ef35fb5dc.tar.bz2 iro-design-36750a6a4a05a28980d46cf895faf50ef35fb5dc.zip |
Fix badge + action button combo
Diffstat (limited to 'src/objects/_badge.scss')
-rw-r--r-- | src/objects/_badge.scss | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objects/_badge.scss b/src/objects/_badge.scss index bb23f7e..eebf136 100644 --- a/src/objects/_badge.scss +++ b/src/objects/_badge.scss | |||
@@ -77,6 +77,8 @@ | |||
77 | 77 | ||
78 | @include iro.bem-object(iro.props-namespace()) { | 78 | @include iro.bem-object(iro.props-namespace()) { |
79 | display: inline-block; | 79 | display: inline-block; |
80 | margin-top: -.5em; | ||
81 | margin-bottom: -.5em; | ||
80 | padding: fn.dim(--pad-y) fn.dim(--pad-x); | 82 | padding: fn.dim(--pad-y) fn.dim(--pad-x); |
81 | border-radius: fn.dim(--rounding); | 83 | border-radius: fn.dim(--rounding); |
82 | background-color: fn.color(--bg); | 84 | background-color: fn.color(--bg); |