Skip to content

Commit

Permalink
feat: improve message body width (#16435)
Browse files Browse the repository at this point in the history
  • Loading branch information
przemvs authored Jan 2, 2024
1 parent 770ea3d commit 3d130c7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/style/content/conversation/message-list.less
Original file line number Diff line number Diff line change
Expand Up @@ -307,16 +307,8 @@
.message-body {
position: relative;
display: flex;
max-width: @conversation-max-width;
justify-content: space-between;
padding-left: @conversation-message-sender-width;

&-content {
width: calc(100% - var(--conversation-message-timestamp-width));
max-width: calc(
@conversation-max-width - @conversation-message-sender-width - var(--conversation-message-timestamp-width)
);
}
padding-inline: @conversation-message-sender-width 40px;

.text {
.text-selection;
Expand Down

0 comments on commit 3d130c7

Please sign in to comment.