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

Commit a9a97d1

Browse files
authored
Maximize width value of display name on TimelineCard with IRC/modern layout (#8904)
* Set 100% max-width to mx_DisambiguatedProfile on TimelineCard Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Unset the max-width value inside ReplyTile Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
1 parent 5538161 commit a9a97d1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

res/css/views/right_panel/_TimelineCard.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,13 @@ limitations under the License.
4949
margin-inline-start: var(--BaseCard_EventTile-spacing-inline);
5050
}
5151

52+
.mx_DisambiguatedProfile {
53+
max-width: calc(100% - var(--BaseCard_EventTile-spacing-inline)); // instead of $left-gutter
54+
}
55+
5256
.mx_ReplyTile .mx_DisambiguatedProfile {
5357
margin-inline-start: 0;
58+
max-width: unset;
5459
}
5560

5661
.mx_ReactionsRow {

0 commit comments

Comments
 (0)