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

This commit is contained in:
Suguru Hirahara 2022-06-25 17:22:52 +00:00 committed by GitHub
parent 4cc82548ac
commit 2242a36851
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 17 deletions

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;