mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Set font-size of webfont icon inside a button (#2046)
This commit is contained in:
5
.changeset/kind-days-sneeze.md
Normal file
5
.changeset/kind-days-sneeze.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": patch
|
||||
---
|
||||
|
||||
Set `font-size` of an `i` element with `icon` class in a `button` element
|
||||
@@ -23,6 +23,7 @@
|
||||
width: var(--#{$prefix}btn-icon-size);
|
||||
height: var(--#{$prefix}btn-icon-size);
|
||||
min-width: var(--#{$prefix}btn-icon-size);
|
||||
font-size: var(--#{$prefix}btn-icon-size);
|
||||
margin: 0 calc(var(--#{$prefix}btn-padding-x) / 2) 0 calc(var(--#{$prefix}btn-padding-x) / -4);
|
||||
vertical-align: bottom;
|
||||
color: inherit;
|
||||
|
||||
Reference in New Issue
Block a user