mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
Fix .card-header to respect --tblr-card-cap-bg (#2626)
Co-authored-by: terminalchai <213856599+terminalchai@users.noreply.github.com> Co-authored-by: codecalm <codecalm@gmail.com>
This commit is contained in:
2 files changed
+6
-1
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fixed `.card-header` background-color to respect the `--tblr-card-cap-bg` CSS variable instead of being silently overridden by a `background: transparent` shorthand.
|
||||||
@@ -220,7 +220,7 @@ Stacked card
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: transparent;
|
background-color: var(--#{$prefix}card-cap-bg);
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
@include border-radius(var(--#{$prefix}card-border-radius) var(--#{$prefix}card-border-radius) 0 0);
|
@include border-radius(var(--#{$prefix}card-border-radius) var(--#{$prefix}card-border-radius) 0 0);
|
||||||
|
|||||||
Reference in new issue
Block a user