mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 12:58:53 +03:00
Apply padding values to event tiles on MessageEditHistoryDialog with variables (#8955)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
parent
bf281c1b6b
commit
2468e5830b
2 changed files with 11 additions and 9 deletions
|
@ -59,10 +59,10 @@ limitations under the License.
|
|||
}
|
||||
|
||||
.mx_EventTile_line {
|
||||
padding-top: 1px;
|
||||
padding-bottom: 3px;
|
||||
|
||||
line-height: $font-22px;
|
||||
padding-top: var(--EventTile_group_line-spacing-block-start);
|
||||
padding-bottom: var(--EventTile_group_line-spacing-block-end);
|
||||
padding-left: var(--EventTile_group_line-spacing-inline-start);
|
||||
line-height: var(--EventTile_group_line-line-height);
|
||||
|
||||
.mx_EventTile_content {
|
||||
margin-right: 0px;
|
||||
|
|
|
@ -20,6 +20,10 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
|
|||
|
||||
.mx_EventTile {
|
||||
--EventTile_content-margin-inline-end: 34px; // TODO: Use a spacing variable
|
||||
--EventTile_group_line-spacing-block-start: 1px;
|
||||
--EventTile_group_line-spacing-block-end: 3px;
|
||||
--EventTile_group_line-spacing-inline-start: $left-gutter;
|
||||
--EventTile_group_line-line-height: $font-22px;
|
||||
|
||||
flex-shrink: 0;
|
||||
|
||||
|
@ -164,8 +168,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
|
|||
}
|
||||
|
||||
&[data-layout=group] {
|
||||
--EventTile_group_line-line-height: $font-22px;
|
||||
|
||||
> .mx_DisambiguatedProfile {
|
||||
line-height: $font-20px;
|
||||
margin-left: $left-gutter;
|
||||
|
@ -188,9 +190,9 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
|
|||
|
||||
.mx_EventTile_line,
|
||||
.mx_EventTile_reply {
|
||||
padding-top: 1px;
|
||||
padding-bottom: 3px;
|
||||
padding-left: $left-gutter;
|
||||
padding-top: var(--EventTile_group_line-spacing-block-start);
|
||||
padding-bottom: var(--EventTile_group_line-spacing-block-end);
|
||||
padding-left: var(--EventTile_group_line-spacing-inline-start);
|
||||
line-height: var(--EventTile_group_line-line-height);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue