Move mx_EventTile_avatar style rules out of ":not([data-layout=bubble])" (#8894)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user