mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 21:27:06 +04:00
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
This commit is contained in:
1 parent
596237e8cc
commit
c860288558
2 files changed
+9
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix icon alignment for `.btn-sm` and `.btn-xl` sizes
|
||||||
@@ -187,6 +187,10 @@
|
|||||||
.icon {
|
.icon {
|
||||||
margin: calc(-1 * var(--#{$prefix}btn-padding-x));
|
margin: calc(-1 * var(--#{$prefix}btn-padding-x));
|
||||||
}
|
}
|
||||||
|
//[BUG] btn-sm and btn-xl with an icon looks broken
|
||||||
|
//issue #2470 fixed
|
||||||
|
min-width: calc(var(--#{$prefix}btn-icon-size) + (var(--#{$prefix}btn-padding-x) * 2));
|
||||||
|
min-height: calc(var(--#{$prefix}btn-icon-size) + (var(--#{$prefix}btn-padding-y) * 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in new issue
Block a user