From a7eb4605f431a8deb2c18eeaee6588b1ca8dc471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20=C3=96zdemir?= Date: Tue, 13 Oct 2020 21:44:50 +0300 Subject: [PATCH] migrate changeCSS function CSS variable for mobile CSS .tutorial-steps__container selector. (#6743) --- sass/responsive/_mobile.scss | 1 + utils/utils.jsx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/sass/responsive/_mobile.scss b/sass/responsive/_mobile.scss index 99f41079050e..9be2d15ff449 100644 --- a/sass/responsive/_mobile.scss +++ b/sass/responsive/_mobile.scss @@ -2366,6 +2366,7 @@ } .tutorial-steps__container { + background: v(center-channel-bg); left: 0; position: fixed; top: 0; diff --git a/utils/utils.jsx b/utils/utils.jsx index 1c9a0a71ed91..ceda4a6eb414 100644 --- a/utils/utils.jsx +++ b/utils/utils.jsx @@ -618,7 +618,6 @@ export function applyTheme(theme) { if (theme.centerChannelBg) { changeCss('.app__body #channel_view.channel-view', `background: ${theme.centerChannelBg}`); changeCss('@media(max-width: 768px){.app__body .post .MenuWrapper .dropdown-menu button', 'background:' + theme.centerChannelBg); - changeCss('@media(max-width: 320px){.tutorial-steps__container', 'background:' + theme.centerChannelBg); changeCss('.app__body .post-card--info, .app__body .bg--white, .app__body .system-notice, .app__body .channel-header__info .channel-header__description:before, .app__body .app__content, .app__body .markdown__table, .app__body .markdown__table tbody tr, .app__body .modal .modal-footer, .app__body .status-wrapper .status, .app__body .alert.alert-transparent', 'background:' + theme.centerChannelBg); changeCss('#post-list .post-list-holder-by-time, .app__body .post .dropdown-menu a, .app__body .post .Menu .MenuItem', 'background:' + theme.centerChannelBg); changeCss('#post-create, .app__body .emoji-picker__preview', 'background:' + theme.centerChannelBg);