🐛 Fix horizontal scroll bar in comments

This commit is contained in:
Belén Albeza 2024-03-12 15:10:23 +01:00 committed by Alonso Torres
parent 3bbf97fde9
commit 3b0148046b

View file

@ -98,8 +98,12 @@
} }
.content { .content {
position: relative;
@include bodySmallTypography; @include bodySmallTypography;
color: var(--color-foreground-primary); color: var(--color-foreground-primary);
word-wrap: break-word;
overflow-wrap: break-word;
hyphens: auto;
} }
.replies { .replies {
@ -203,13 +207,6 @@
} }
} }
} }
.content {
position: relative;
.text {
@include bodySmallTypography;
white-space: pre;
}
}
} }
.comment-options-dropdown { .comment-options-dropdown {
@extend .dropdown-wrapper; @extend .dropdown-wrapper;
@ -233,7 +230,6 @@
height: 100%; height: 100%;
width: 100%; width: 100%;
max-width: $s-260; max-width: $s-260;
min-width: $s-260;
margin-bottom: $s-8; margin-bottom: $s-8;
padding: $s-8; padding: $s-8;
color: var(--input-foreground-color-active); color: var(--input-foreground-color-active);