feat: Increase the width of the message bubble (#2235)

* feat: Increase the width of the message bubble

Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
This commit is contained in:
Pranav Raj S 2021-05-10 19:58:44 +05:30 committed by GitHub
parent a33617cadd
commit a216297ce1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,6 @@
.bubble { .bubble {
@include bubble-with-types; @include bubble-with-types;
max-width: 50rem;
text-align: left; text-align: left;
word-wrap: break-word; word-wrap: break-word;
@ -236,7 +235,9 @@
.wrap { .wrap {
@include margin($zero $space-normal); @include margin($zero $space-normal);
max-width: 69%;
--bubble-max-width: 49.6rem;
max-width: Min(var(--bubble-max-width), 85%);
.sender--name { .sender--name {
font-size: $font-size-mini; font-size: $font-size-mini;