From 45cd9f6645e49c6443bbd680ca888787b3891e3f Mon Sep 17 00:00:00 2001 From: REJack Date: Sat, 3 Oct 2020 15:43:47 +0200 Subject: [PATCH] rename .fullscreen-mode to .iframe-mode-fullscreen --- build/js/IFrame.js | 2 +- build/scss/pages/_iframe.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/js/IFrame.js b/build/js/IFrame.js index d7d28011c..de8c4a43e 100644 --- a/build/js/IFrame.js +++ b/build/js/IFrame.js @@ -33,7 +33,7 @@ const SELECTOR_SIDEBAR_MENU_ITEM = '.main-sidebar .nav-item > a.nav-link' const SELECTOR_HEADER_MENU_ITEM = '.main-header .nav-item a.nav-link' const SELECTOR_HEADER_DROPDOWN_ITEM = '.main-header a.dropdown-item' const CLASS_NAME_IFRAME_MODE = 'iframe-mode' -const CLASS_NAME_FULLSCREEN_MODE = 'fullscreen-mode' +const CLASS_NAME_FULLSCREEN_MODE = 'iframe-mode-fullscreen' const Default = { onTabClick(item) { diff --git a/build/scss/pages/_iframe.scss b/build/scss/pages/_iframe.scss index 05724c99a..c0a2721f9 100644 --- a/build/scss/pages/_iframe.scss +++ b/build/scss/pages/_iframe.scss @@ -13,7 +13,7 @@ body.iframe-mode { } } -body.fullscreen-mode { +body.iframe-mode-fullscreen { overflow: hidden; } @@ -65,7 +65,7 @@ body.fullscreen-mode { } } - body.fullscreen-mode & { + body.iframe-mode-fullscreen & { position: absolute; left: 0; top: 0;