Fix hidden events in thread view (#7870)

This commit is contained in:
Michael Telatynski 2022-02-22 13:19:29 +00:00 committed by GitHub
parent 7fa01ffb06
commit 0756e9957e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,6 +198,28 @@ limitations under the License.
font-size: $font-12px; font-size: $font-12px;
color: $secondary-content; color: $secondary-content;
} }
// handling for hidden events (e.g reactions) in the thread view
&.mx_ThreadView .mx_GenericEventListSummary_unstyledList .mx_EventTile_info {
.mx_EventTile_line {
padding-left: 0 !important; // override main timeline padding
.mx_EventTile_content {
margin-left: 54px; // align with text
width: calc(100% - 54px - 8px); // match width of parent
}
}
.mx_EventTile_avatar {
position: absolute;
left: 36px !important; // override main timeline positioning
z-index: 9; // position above the hover styling
}
.mx_ViewSourceEvent_toggle {
display: none; // hide the hidden event expand button, not enough space, view source can still be used
}
}
} }
.mx_ThreadPanel_replies { .mx_ThreadPanel_replies {