This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 829
Set expected value of line-height to expanded generic event list summary (GELS) spacer on IRC layout #10211
Merged
justjanne
merged 22 commits into
matrix-org:develop
from
luixxiul:fix-gels-line-height-IRClayout
Mar 24, 2023
Merged
Set expected value of line-height to expanded generic event list summary (GELS) spacer on IRC layout #10211
Changes from 10 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d617422
Set expected line height to an expanded GELS line on IRC layout, add …
luixxiul fa627f4
Add a test for compact modern/group layout
luixxiul be353ce
Create a new test category on timeline.spec.ts
luixxiul 03f0837
Rename the class name as 'spacer'
luixxiul 3c0f7dd
Add a test for GELS' spacer on bubble layout
luixxiul 6ba9e2b
Remove a percySnapshot
luixxiul f00176b
Improve a test
luixxiul fde3515
Merge branch 'develop' into fix-gels-line-height-IRClayout
luixxiul 8253ae1
Add percySnapshotElement
luixxiul 42f0912
lint
luixxiul bc507c7
Add percy tests
luixxiul 0894543
Fix typos
luixxiul d37fad9
Merge branch 'develop' into fix-gels-line-height-IRClayout
luixxiul 22ec165
Merge branch 'develop' into fix-gels-line-height-IRClayout
luixxiul cc3939d
Fix percyCSS for timestamps on normal event tiles
luixxiul c27d394
lint
luixxiul a45c9cc
Merge branch 'develop' into fix-gels-line-height-IRClayout
luixxiul 53a0f6e
Edit a test
luixxiul 914b4ee
Merge branch 'develop' into fix-gels-line-height-IRClayout
luixxiul 13e100d
Merge branch 'develop' into fix-gels-line-height-IRClayout
luixxiul 02ae060
Merge branch 'develop' into fix-gels-line-height-IRClayout
luixxiul 7b0268d
Merge branch 'develop' into fix-gels-line-height-IRClayout
luixxiul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 varilable */ | ||
line-height: $font-30px; /* TODO: Use a varilable */ | ||
luixxiul marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.mx_IRCLayout & { | ||
line-height: var(--line-height); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This declaration has the expected line-height applied to the spacer line against |
||
} | ||
} | ||
|
||
&[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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm adding a percy test here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added with bc507c7 along with another one.