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 833
Move mx_EventTile_info out of mx_EventTile:not([data-layout=bubble]) #8994
Merged
Conversation
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
github-actions
bot
added
Z-Community-PR
Issue is solved by a community member's PR
T-Task
Refactoring, enabling or disabling functionality, other engineering tasks
labels
Jul 6, 2022
…-layout=bubble]) to mx_EventTile[data-layout=group] Signed-off-by: Suguru Hirahara <[email protected]>
…ntTile_line from mx_EventTile:not([data-layout=bubble]) to mx_EventTile[data-layout=group] Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
…for both IRC and modern layout Signed-off-by: Suguru Hirahara <[email protected]>
…to group layout only Signed-off-by: Suguru Hirahara <[email protected]>
…ro padding by default) Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
…on _EventTile.scss Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
luixxiul
commented
Jul 7, 2022
luixxiul
commented
Jul 9, 2022
@@ -318,8 +336,30 @@ $left-gutter: 64px; | |||
padding-top: 0px !important; | |||
} | |||
|
|||
&.mx_EventTile_info .mx_EventTile_line { | |||
padding-left: calc($left-gutter + 20px); // override padding-left $left-gutter | |||
&.mx_EventTile_info { |
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.
For modern layout
luixxiul
commented
Jul 9, 2022
@@ -350,33 +390,6 @@ $left-gutter: 64px; | |||
font-size: $font-14px; | |||
position: relative; | |||
|
|||
&.mx_EventTile_info { |
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.
For both IRC and modern layouts
luixxiul
commented
Jul 9, 2022
@@ -424,10 +437,6 @@ $left-gutter: 64px; | |||
} | |||
|
|||
&[data-layout=irc] { | |||
.mx_EventTile_info .mx_EventTile_line { | |||
padding-left: 0; // Override .mx_EventTile:not([data-layout="bubble"]).mx_EventTile_info .mx_EventTile_line |
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.
Because overriding :not()
pseudo class is no longer necessary.
Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
turt2live
requested review from
a team,
duxovni,
SimonBrandner and
robintown
and removed request for
turt2live and
a team
July 11, 2022 20:03
robintown
approved these changes
Jul 11, 2022
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.
LGTM
except it looks like you have merge conflicts |
@robintown Thanks for reviewing. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
T-Task
Refactoring, enabling or disabling functionality, other engineering tasks
Z-Community-PR
Issue is solved by a community member's PR
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.
This PR moves
mx_EventTile_info
out ofmx_EventTile:not([data-layout=bubble])
to prevent an unexpected regression due to:not()
pseudo class which has a number of quirks, tricks, and unexpected results that you should be aware of before using it.This PR also aligns avatars and event texts on IRC layout.
Fixes element-hq/element-web#22783
Signed-off-by: Suguru Hirahara [email protected]
type: defect
Notes: Align avatars and event texts on IRC layout
This change is marked as an internal change (Task), so will not be included in the changelog.