Skip to content

Commit d514f74

Browse files
committed
fix: prevent message options to be pushed to the edge of the message row
1 parent 36ac685 commit d514f74

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/components/Message/styling/Message.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ $message-bubble-padding: var(--str-chat__spacing-xs);
252252
grid-template-columns: minmax(0, auto) 1fr;
253253
column-gap: var(--str-chat__space-8);
254254
position: relative;
255-
max-width: 100%;
255+
width: fit-content;
256256

257257
.str-chat__message-reactions-host {
258258
display: flex;
@@ -519,10 +519,6 @@ $message-bubble-padding: var(--str-chat__spacing-xs);
519519
&.str-chat__message--has-attachment {
520520
--str-chat__message-max-width: var(--str-chat__message-with-attachment-max-width);
521521

522-
.str-chat__message-inner {
523-
width: fit-content(var(--str-chat__message-max-width));
524-
}
525-
526522
.str-chat__message-bubble {
527523
width: 100%;
528524
}

0 commit comments

Comments
 (0)