Skip to content

Commit 782d192

Browse files
committed
fix: make poll responsive
1 parent d9ae9f3 commit 782d192

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/components/Poll/styling/Poll.scss

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

1813
button {

0 commit comments

Comments
 (0)