Move mx_EventTile_avatar style rules out of ":not([data-layout=bubble])" (#8894)
This commit is contained in:
parent
4cc82548ac
commit
2242a36851
3 changed files with 21 additions and 17 deletions
|
@ -32,6 +32,15 @@ limitations under the License.
|
|||
}
|
||||
|
||||
.mx_EventTile {
|
||||
&[data-layout=irc],
|
||||
&[data-layout=group] {
|
||||
.mx_EventTile_avatar {
|
||||
position: absolute; // for IRC layout
|
||||
top: 12px;
|
||||
left: -3px;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-layout=bubble] {
|
||||
&::before {
|
||||
z-index: auto; // enable background color on hover
|
||||
|
@ -76,12 +85,6 @@ limitations under the License.
|
|||
max-width: min(calc(100% - 36px), 600px);
|
||||
}
|
||||
|
||||
.mx_EventTile_avatar {
|
||||
position: absolute; // for IRC layout
|
||||
top: 12px;
|
||||
left: -3px;
|
||||
}
|
||||
|
||||
.mx_MessageTimestamp {
|
||||
position: absolute; // for modern layout and IRC layout
|
||||
inset-inline-start: auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue