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>
This commit is contained in:
Suguru Hirahara 2022-06-27 13:16:40 +00:00 committed by GitHub
parent 5538161acd
commit a9a97d1be3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,8 +49,13 @@ limitations under the License.
margin-inline-start: var(--BaseCard_EventTile-spacing-inline); 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 { .mx_ReplyTile .mx_DisambiguatedProfile {
margin-inline-start: 0; margin-inline-start: 0;
max-width: unset;
} }
.mx_ReactionsRow { .mx_ReactionsRow {