From 7117fc05620eef128dc351e3637dc4f61d463ef9 Mon Sep 17 00:00:00 2001 From: Thomas Hopkins Date: Fri, 4 Nov 2016 12:56:54 -0700 Subject: 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 --- webapp/utils/utils.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/utils') 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) { -- cgit v1.2.3-1-g7c22