Fix hidden events in thread view (#7870)
This commit is contained in:
parent
7fa01ffb06
commit
0756e9957e
1 changed files with 22 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue