Skip to content

Commit 36ac685

Browse files
committed
fix: prevent Poll from shrinking
1 parent f3c185d commit 36ac685

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/components/Poll/styling/Poll.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66
flex-direction: column;
77
gap: var(--str-chat__spacing-xl);
88
padding: var(--str-chat__spacing-xs);
9-
min-width: min(260px, 100%);
9+
width: calc(
10+
var(--str-chat__message-with-attachment-max-width) - calc(
11+
2 * var(--str-chat__spacing-xs)
12+
)
13+
);
1014
max-width: 100%;
15+
min-width: min(260px, 100%);
1116
font: var(--str-chat__font-caption-default);
1217

1318
button {

0 commit comments

Comments
 (0)