mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Set spacing declarations to elements in mx_EventTile_mediaLine (#8665)
This commit is contained in:
parent
23babbb8ab
commit
6825b43f42
1 changed files with 12 additions and 5 deletions
|
@ -935,13 +935,20 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
|
|||
}
|
||||
}
|
||||
|
||||
.mx_MFileBody,
|
||||
.mx_MImageBody {
|
||||
display: block; // Apply margin to span element
|
||||
.mx_EventTile_mediaLine {
|
||||
// such as MImageBody
|
||||
> div,
|
||||
> span {
|
||||
margin-inline-start: var(--ThreadView_group_spacing-start);
|
||||
margin-inline-end: var(--ThreadView_group_spacing-end);
|
||||
}
|
||||
|
||||
// such as MAudioBody and MFileBody
|
||||
> span {
|
||||
display: block; // Apply the margin declarations to span element
|
||||
}
|
||||
}
|
||||
|
||||
.mx_ReplyChain_wrapper {
|
||||
.mx_MLocationBody {
|
||||
margin-inline-start: 0;
|
||||
|
|
Loading…
Reference in a new issue