mirror of https://github.com/vector-im/riot-web
Fix bubble layout in thread view (#8249)
parent
233278546b
commit
610225aef2
|
@ -954,7 +954,6 @@ $threadInfoLineHeight: calc(2 * $font-12px);
|
|||
.mx_EventTile {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding-top: 14px; // due to layout differences, this odd number matches the 18px padding-top of main tl events
|
||||
|
||||
.mx_EventTile_line {
|
||||
padding-left: 0;
|
||||
|
@ -972,6 +971,10 @@ $threadInfoLineHeight: calc(2 * $font-12px);
|
|||
}
|
||||
}
|
||||
|
||||
.mx_EventTile:not([data-layout=bubble]) {
|
||||
padding-top: 14px; // due to layout differences, this odd number matches the 18px padding-top of main tl events
|
||||
}
|
||||
|
||||
.mx_EventTile[data-layout=bubble] {
|
||||
margin-left: 36px;
|
||||
margin-right: 36px;
|
||||
|
|
Loading…
Reference in New Issue