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

Commit

Permalink
Fix edge case around event list summary layout (#7867)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Feb 22, 2022
1 parent 5b8d440 commit e644ede
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion res/css/views/messages/_ViewSourceEvent.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ limitations under the License.
opacity: 0.6;
font-size: $font-12px;
width: 100%;
margin-left: 20px;

pre, code {
flex: 1;
Expand Down
6 changes: 6 additions & 0 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,12 @@ $left-gutter: 64px;
}
}

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

.mx_EventTile:not([data-layout=bubble]).mx_EventTile_info .mx_EventTile_line,
.mx_GenericEventListSummary:not([data-layout=bubble]) .mx_EventTile_line {
padding-left: $left-gutter;
}
Expand Down

0 comments on commit e644ede

Please sign in to comment.