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

Commit

Permalink
Restore padding for single person state events
Browse files Browse the repository at this point in the history
  • Loading branch information
germain-gg committed Jul 28, 2021
1 parent 11e75ee commit ab7d387
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,6 @@ $hover-select-border: 4px;
}
}

&.mx_EventTile_info .mx_EventTile_line,
& ~ .mx_EventListSummary > :not(.mx_EventTile) .mx_EventTile_avatar ~ .mx_EventTile_line {
padding-left: calc($left-gutter + 18px);
}

& ~ .mx_EventListSummary .mx_EventTile_line {
padding-left: calc($left-gutter);
}

&.mx_EventTile_selected.mx_EventTile_info .mx_EventTile_line {
padding-left: calc($left-gutter + 18px - $hover-select-border);
}
Expand Down Expand Up @@ -280,6 +271,15 @@ $hover-select-border: 4px;
}
}

.mx_EventTile:not([data-layout=bubble]).mx_EventTile_info .mx_EventTile_line,
.mx_EventListSummary:not([data-layout=bubble]) > :not(.mx_EventTile) .mx_EventTile_avatar ~ .mx_EventTile_line {
padding-left: calc($left-gutter + 18px);
}

.mx_EventListSummary:not([data-layout=bubble]) .mx_EventTile_line {
padding-left: calc($left-gutter);
}

/* all the overflow-y: hidden; are to trap Zalgos -
but they introduce an implicit overflow-x: auto.
so make that explicitly hidden too to avoid random
Expand Down

0 comments on commit ab7d387

Please sign in to comment.