Stop using mx_GroupLayout for styling (#8711)

This commit is contained in:
Suguru Hirahara
2022-06-15 17:26:24 +00:00
committed by GitHub
parent f9100d5fb6
commit 81c894f2d9
4 changed files with 28 additions and 59 deletions
+5 -23
View File
@@ -116,29 +116,11 @@ limitations under the License.
height: 100%;
}
// Override _GroupLayout.scss for the thread panel
.mx_GroupLayout {
.mx_EventTile {
.mx_MessageActionBar {
right: 0;
top: -36px; // 2px above EventTile
z-index: 10; // See _EventTile.scss
}
&[data-shape=ThreadsList] {
> .mx_DisambiguatedProfile {
margin-inline-start: 0;
}
.mx_MessageTimestamp {
position: initial;
width: auto;
}
.mx_EventTile_line {
padding-bottom: 0; // Override mx_EventTile_line on _GroupLayout.scss
}
}
.mx_EventTile[data-layout=group] {
.mx_MessageActionBar {
right: 0;
top: -36px; // 2px above EventTile
z-index: 10; // See _EventTile.scss
}
}