Skip to content

Commit 524696d

Browse files
committed
fix(popover): change inline-size from fit-content to max-content for better width handling
1 parent 79af85f commit 524696d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/styles/internal/_popover-component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ $popover-gap-inset: calc(-1 * #{$popover-gap-size});
242242
calc(100vw - 2 * #{variables.$db-spacing-fixed-md})
243243
);
244244
block-size: fit-content;
245-
inline-size: fit-content;
245+
inline-size: max-content;
246246

247247
&[data-width="fixed"] {
248248
inline-size: max-content;

0 commit comments

Comments
 (0)