summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorThomas Hopkins <thomchop@users.noreply.github.com>2016-11-04 12:56:54 -0700
committerHarrison Healey <harrisonmhealey@gmail.com>2016-11-04 15:56:54 -0400
commit7117fc05620eef128dc351e3637dc4f61d463ef9 (patch)
treee6f8f64bebf3bdce4e904105db66c1571aaca667 /webapp/utils
parent9ba3c5487535404748025b4deaaed935b44f6f03 (diff)
downloadchat-7117fc05620eef128dc351e3637dc4f61d463ef9.tar.gz
chat-7117fc05620eef128dc351e3637dc4f61d463ef9.tar.bz2
chat-7117fc05620eef128dc351e3637dc4f61d463ef9.zip
PLT-4486 Don't apply sidebar bg color to settings modals w/o tabs (#4460)
* PLT-4486 Don't apply sidebar bg color to settings modals w/o tabs * PLT-4486 Use more correct naming for tabless modals
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/utils.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx
index 81f304fa3..5d456bf83 100644
--- a/webapp/utils/utils.jsx
+++ b/webapp/utils/utils.jsx
@@ -465,7 +465,7 @@ export function applyTheme(theme) {
if (theme.sidebarBg) {
changeCss('.sidebar--left, .sidebar--left .sidebar__divider .sidebar__divider__text, .app__body .modal .settings-modal .settings-table .settings-links, .app__body .sidebar--menu', 'background:' + theme.sidebarBg, 1);
changeCss('body.app__body', 'scrollbar-face-color:' + theme.sidebarBg, 3);
- changeCss('@media(max-width: 768px){.app__body .modal .settings-modal:not(.display--content) .modal-content', 'background:' + theme.sidebarBg, 1);
+ changeCss('@media(max-width: 768px){.app__body .modal .settings-modal:not(.settings-modal--tabless):not(.display--content) .modal-content', 'background:' + theme.sidebarBg, 1);
}
if (theme.sidebarText) {