-
-
Notifications
You must be signed in to change notification settings - Fork 833
Move style rules of MatrixChat_useCompactLayout from _GroupLayout.scss to _EventTile.scss and _RoomView.scss #8725
Move style rules of MatrixChat_useCompactLayout from _GroupLayout.scss to _EventTile.scss and _RoomView.scss #8725
Conversation
…View.scss Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
…EventTile.scss This block is not related to the group layout. Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
- EventTile_avatar - EventTile_line - EventTile_reply Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
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.
Thank you for your contribution 🙂
Tested on the Netlify deployment. The layout still looks good ✔️
Is it possible that this PR increased the padding and/or margins ever so slightly? I use develop.element.io and I feel like the messages are just a bit more separated. |
I am not sure whether the change has been applied to develop.element.io, but it is possible to dig deeper if you could either provide a screenshot or point out which elements are affected. Basically this PR fixed the issue that style blocks for EventTile have scattered over multiple files, and it might have changed how style rules are inherited. In this case the issue has been hidden unintentionally. |
Thanks for the pointer. Going to check that… |
ach it is annoying to see this kind of regression happens only by moving style rules to the file which they should belong... |
…s to _EventTile.scss and _RoomView.scss (matrix-org#8725) * Move mx_RoomView_MessageList h2 block from _GroupLayout.scss to _RoomView.scss Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Move mx_MatrixChat_useCompactLayout block from _GroupLayout.scss to _EventTile.scss This block is not related to the group layout. Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Include EventTile_continuation block in EventTile_emote Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Use logical properties for the padding values Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Sort declarations for maintainability - EventTile_avatar - EventTile_line - EventTile_reply Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * yarn run lint:style --fix Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Separate selectors of .markdown-body Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
…yout.scss to _EventTile.scss and _RoomView.scss (matrix-org#8725)" (matrix-org#8751) This reverts commit 228abb6.
This PR moves the style rules of
MatrixChat_useCompactLayout
from_GroupLayout.scss
to_EventTile.scss
and_RoomView.scss
.Since those declarations are not used to style elements of the group layout exclusively, they should be moved to corresponding SASS files. With #8711
_GroupLayout.scss
is going to be removed.type: task
Signed-off-by: Suguru Hirahara luixxiul@users.noreply.github.com
This change is marked as an internal change (Task), so will not be included in the changelog.