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

Commit

Permalink
Maximize width value of display name on TimelineCard with IRC/modern …
Browse files Browse the repository at this point in the history
…layout (#8904)

* Set 100% max-width to mx_DisambiguatedProfile on TimelineCard

Signed-off-by: Suguru Hirahara <[email protected]>

* Unset the max-width value inside ReplyTile

Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
luixxiul authored Jun 27, 2022
1 parent 5538161 commit a9a97d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions res/css/views/right_panel/_TimelineCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,13 @@ limitations under the License.
margin-inline-start: var(--BaseCard_EventTile-spacing-inline);
}

.mx_DisambiguatedProfile {
max-width: calc(100% - var(--BaseCard_EventTile-spacing-inline)); // instead of $left-gutter
}

.mx_ReplyTile .mx_DisambiguatedProfile {
margin-inline-start: 0;
max-width: unset;
}

.mx_ReactionsRow {
Expand Down

0 comments on commit a9a97d1

Please sign in to comment.