Apply inline start padding to selected lines on modern layout only (#9006)
This commit is contained in:
parent
fb25b3729d
commit
82fb21aff5
2 changed files with 42 additions and 5 deletions
|
@ -424,6 +424,11 @@ $left-gutter: 64px;
|
|||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.mx_EventTile_selected .mx_EventTile_line {
|
||||
// TODO: check if this would be necessary
|
||||
padding-inline-start: calc(var(--EventTile_group_line-spacing-inline-start) + 20px);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
@ -466,10 +471,6 @@ $left-gutter: 64px;
|
|||
padding-top: 18px;
|
||||
font-size: $font-14px;
|
||||
position: relative;
|
||||
|
||||
&.mx_EventTile_selected.mx_EventTile_info .mx_EventTile_line {
|
||||
padding-left: calc($left-gutter + 18px);
|
||||
}
|
||||
}
|
||||
|
||||
.mx_GenericEventListSummary {
|
||||
|
@ -504,7 +505,8 @@ $left-gutter: 64px;
|
|||
}
|
||||
|
||||
.mx_GenericEventListSummary_unstyledList > .mx_EventTile_info .mx_EventTile_avatar ~ .mx_EventTile_line {
|
||||
padding-left: calc($left-gutter + 20px); /* override padding-left $left-gutter */
|
||||
/* override padding-left $left-gutter */
|
||||
padding-inline-start: calc(var(--EventTile_group_line-spacing-inline-start) + 20px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue