-
-
Notifications
You must be signed in to change notification settings - Fork 833
Force style rules of buttons on MessageActionBar used with maskButton selector #8780
Conversation
…maskButton Signed-off-by: Suguru Hirahara <[email protected]>
…onBar_maskButton Signed-off-by: Suguru Hirahara <[email protected]>
…ar_maskButton as expected Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
…adSpinnerButton in mx_MessageActionBar_downloadButton Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
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.
Hi @luixxiul thank you for your contribution.
Can you please check my comment? After resolving this re-request review. It will be much easier for me then.
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.
Tested, works. LGTM 👍
@weeman1337 thanks for reviewing! |
mask-size: 12px; | ||
mask-image: url('$(res)/img/element-icons/expand-message.svg'); | ||
} | ||
&.mx_MessageActionBar_downloadSpinnerButton::after { |
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 noticed this nesting was wrong.
This means .mx_MessageActionBar_downloadButton::after.mx_MessageActionBar_downloadSpinnerButton::after
, which in fact should be .mx_MessageActionBar_downloadButton.mx_MessageActionBar_downloadSpinnerButton::after
.
I'm pushing a fix as follow-up soon.
This PR tries to ensure that the style rules of buttons on message action bar used with only with
mx_MessageActionBar_maskButton
selector and prevent the styles from being referred/stolen somewhere else.The next task would be to include the rule block of
mx_MessageActionBar_maskButton
inmx_MessageActionBar
, which requires analysis as those rules are referred from other files which are irrelevant to the message action bar.Signed-off-by: Suguru Hirahara [email protected]
type: task
This change is marked as an internal change (Task), so will not be included in the changelog.