-
-
Notifications
You must be signed in to change notification settings - Fork 828
Update style rules under mx_AppTileMenuBar_title
#10895
Conversation
margin-right: 12px; | ||
} | ||
|
||
> :last-child { |
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.
.mx_AppTileMenuBar_title > :last-child
was this span
element below. It is not clear why it was specified so (instead of .mx_AppTileMenuBar_title > span
), while there has not been another element directly under mx_AppTileMenuBar_title
.
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 struggling to see the optimisation here?
Why is it a bad thing to have an inline element?
I do not have a strong opinion of inlining styles, so I am going to revert that change. |
@luixxiul I think the question spans for the entire PR ? |
I am not quite sure if I understood you well, but I intentionally am trying to split tasks for the sake of reviewers who prefer small PRs. If we address several tasks on this PR, we would also rename |
This reverts commit 875ade1.
mx_AppTileMenuBar_title
mx_AppTileMenuBar_title
I'm going by the description of the pull request here, and you mention that the changes are to conform the classes names with our styleguide. The class is scoped within But I would also like to address the small pull request comment. |
Yes, I would agree. Despite the difficulty of understanding how |
For element-hq/element-web#25269
This is one of the PRs which intend to conform style rules of
_AppDrawer.pcss
to our naming policy. This PR intends to address the structure of the style rules undermx_AppTileMenuBar_title
.type: task
Checklist
This change is marked as an internal change (Task), so will not be included in the changelog.