mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix Unread posts indicator and mention badge don't match theme color (#4678)
This commit is contained in:
@@ -705,10 +705,7 @@ export function changeCss(className, classValue) {
|
||||
if (className.indexOf('@media') >= 0) {
|
||||
mediaQuery = '}';
|
||||
}
|
||||
if (styleSheet.cssRules.length > 0) {
|
||||
styleSheet.deleteRule(0);
|
||||
}
|
||||
styleSheet.insertRule(className + '{' + classValue + '}' + mediaQuery, 0);
|
||||
styleSheet.insertRule(className + '{' + classValue + '}' + mediaQuery, styleSheet.cssRules.length);
|
||||
}
|
||||
|
||||
export function updateCodeTheme(userTheme) {
|
||||
|
||||
Reference in New Issue
Block a user