Set expected value of line-height to expanded generic event list summary (GELS) spacer on IRC layout (#10211)
* Set expected line height to an expanded GELS line on IRC layout, add a test * Add a test for compact modern/group layout * Create a new test category on timeline.spec.ts * Rename the class name as 'spacer' * Add a test for GELS' spacer on bubble layout --------- Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> Co-authored-by: Germain <germain@souquet.com>
This commit is contained in:
parent
75f31defd6
commit
8e1b9f46d4
4 changed files with 101 additions and 11 deletions
|
@ -21,6 +21,16 @@ limitations under the License.
|
|||
margin-right: $spacing-8;
|
||||
}
|
||||
|
||||
.mx_GenericEventListSummary_spacer {
|
||||
border-bottom: 1px solid $primary-hairline-color;
|
||||
margin-left: 63px; /* TODO: Use a variable */
|
||||
line-height: $font-30px; /* TODO: Use a variable */
|
||||
|
||||
.mx_IRCLayout & {
|
||||
line-height: var(--line-height);
|
||||
}
|
||||
}
|
||||
|
||||
&[data-layout="irc"],
|
||||
&[data-layout="group"] {
|
||||
.mx_GenericEventListSummary_toggle {
|
||||
|
@ -51,7 +61,7 @@ limitations under the License.
|
|||
}
|
||||
}
|
||||
|
||||
.mx_GenericEventListSummary_line {
|
||||
.mx_GenericEventListSummary_spacer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
@ -88,7 +98,7 @@ limitations under the License.
|
|||
line-height: $font-20px;
|
||||
}
|
||||
|
||||
.mx_GenericEventListSummary_line {
|
||||
.mx_GenericEventListSummary_spacer {
|
||||
line-height: $font-22px;
|
||||
}
|
||||
|
||||
|
@ -117,9 +127,3 @@ limitations under the License.
|
|||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_GenericEventListSummary_line {
|
||||
border-bottom: 1px solid $primary-hairline-color;
|
||||
margin-left: 63px;
|
||||
line-height: $font-30px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue