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

Commit

Permalink
migrate changeCSS function CSS variable for mobile CSS .tutorial-step…
Browse files Browse the repository at this point in the history
…s__container selector. (#6743)
  • Loading branch information
ozdemirburak committed Oct 13, 2020
1 parent dd765cd commit a7eb460
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions sass/responsive/_mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2366,6 +2366,7 @@
}

.tutorial-steps__container {
background: v(center-channel-bg);
left: 0;
position: fixed;
top: 0;
Expand Down
1 change: 0 additions & 1 deletion utils/utils.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a7eb460

Please sign in to comment.