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

[GH-15889] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 622 #6743

Merged
merged 1 commit into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -619,7 +619,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