Skip to content

Commit 9967872

Browse files
committed
Bug: Fix fluid card should use auto width
1 parent 206d295 commit 9967872

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/card/css/card-shadow.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
@layer component.card.variations.fluid {
183183
:host([fluid]),
184184
.fluid.card {
185-
width: 100%;
185+
--card-width: auto;
186186
--card-image-max-width: none;
187187
}
188188
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:host([fluid]),
22
.fluid.card {
3-
width: 100%;
3+
--card-width: auto;
44
--card-image-max-width: none;
55
}

0 commit comments

Comments
 (0)