Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Manage style rules related to mx_RoomView_body on _RoomView.pcss and mx_MessageComposer on _MessageComposer.pcss #10732

Closed
wants to merge 1 commit into from

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Apr 27, 2023

This PR suggests to move style rules related to mx_RoomView_body and mx_MessageComposer from _EventBubbleTile.pcss to _RoomView.pcss and _MessageComposer.pcss

The style block does not actually style mx_EventTile, instead elements related to mx_RoomView_body and mx_MessageComposer. Because those selectors have been already managed on CSS files of each component, the rules should be placed on those files.

Screenshot from 2023-05-05 22-09-37

type: task

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

@github-actions 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 Apr 27, 2023
@@ -110,6 +110,17 @@ limitations under the License.
.mx_RoomView_messagePanelSearchSpinner {
order: 2;
}

&[data-layout="bubble"] {
/* Make widgets and calls span across the whole room width when using bubble layout */
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment was taken from the title of #7553.

…and `mx_MessageComposer` on `_MessageComposer.pcss`

This block does not actually style mx_EventTile, instead elements related to 'mx_RoomView_body' and `mx_MessageComposer`. Because those selectors have been already managed on CSS files of each component, the rules should be placed on those files.
@luixxiul luixxiul changed the title Manage style rules related to mx_RoomView_body on _RoomView.pcss Manage style rules related to mx_RoomView_body on _RoomView.pcss and mx_MessageComposer on _MessageComposer.pcss May 5, 2023
@luixxiul luixxiul marked this pull request as ready for review May 5, 2023 13:25
@luixxiul luixxiul closed this Jun 1, 2023
@luixxiul luixxiul deleted the EventBubbleTile branch June 1, 2023 14:32
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant