Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 14a8b1e

Browse files
authored
Set 100% max-width to display name on reply tiles (#8867)
1 parent 98dffeb commit 14a8b1e

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

res/css/views/rooms/_EventBubbleTile.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ limitations under the License.
249249

250250
.mx_ReplyTile .mx_DisambiguatedProfile {
251251
display: block;
252+
max-width: 100%;
252253
}
253254

254255
.mx_ReactionsRow {

res/css/views/rooms/_EventTile.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
7676
> .mx_DisambiguatedProfile {
7777
line-height: $font-20px;
7878
margin-left: $left-gutter;
79+
max-width: calc(100% - $left-gutter);
7980
}
8081

8182
> .mx_EventTile_avatar {
@@ -152,7 +153,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
152153
display: inline-block;
153154
padding-bottom: 0px;
154155
padding-top: 0px;
155-
max-width: calc(100% - $left-gutter);
156156
}
157157

158158
&.mx_EventTile_isEditing .mx_MessageTimestamp {

res/css/views/rooms/_IRCLayout.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ $irc-line-height: $font-18px;
218218
margin: 0;
219219
.mx_DisambiguatedProfile {
220220
order: unset;
221-
max-width: unset;
222221
width: unset;
223222
background: transparent;
224223
}

0 commit comments

Comments
 (0)