Move mx_EventTile_avatar style rules out of ":not([data-layout=bubble])" (#8894)

This commit is contained in:
Suguru Hirahara
2022-06-25 19:22:52 +02:00
committed by GitHub
parent 4cc82548ac
commit 2242a36851
3 changed files with 21 additions and 17 deletions
+9 -6
View File
@@ -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;