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

[MM-24929] Force red background on mobile view header mention badge #5560

Merged
merged 2 commits into from
May 26, 2020

Conversation

devinbinnie
Copy link
Member

@devinbinnie devinbinnie commented May 22, 2020

Summary

At some point during v5.24 development, the CSS style sheet stopped using the background-color for the badge-notify class on the mobile view header mention badge, and started using the background provided by the badge class.

This PR changes the order of the classes in the CSS file such that the .badge-notify class has a higher specificity that will override the background-color of the default badge class.

Ticket Link

https://mattermost.atlassian.net/browse/MM-24929

@devinbinnie devinbinnie added 2: Dev Review Requires review by a core commiter 3: QA Review Requires review by a QA tester CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels May 22, 2020
@devinbinnie devinbinnie added this to the v5.24.0 milestone May 22, 2020
@jgilliam17 jgilliam17 added the Setup Cloud Test Server Setup a test server using Mattermost Cloud label May 26, 2020
Copy link
Contributor

@jgilliam17 jgilliam17 left a comment

Choose a reason for hiding this comment

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

Thank you @devinbinnie
Tested, looks good to merge

  • Verified red background is present on mobile view header mention badge

@jgilliam17 jgilliam17 added QA Review Done and removed 3: QA Review Requires review by a QA tester Setup Cloud Test Server Setup a test server using Mattermost Cloud labels May 26, 2020
@mm-cloud-bot
Copy link

Test server destroyed

Copy link
Contributor

@bradjcoughlin bradjcoughlin left a comment

Choose a reason for hiding this comment

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

👍

@devinbinnie devinbinnie added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels May 26, 2020
@devinbinnie devinbinnie merged commit c43606a into mattermost:master May 26, 2020
@mattermod mattermod added CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone and removed CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels May 26, 2020
devinbinnie added a commit that referenced this pull request May 26, 2020
* Force red background on mobile view header mention badge

* Rework to use better CSS

Co-authored-by: Devin Binnie <[email protected]>
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels May 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone Docs/Not Needed Does not require documentation QA Review Done
Projects
None yet
7 participants