From 457effae850896382e1d5933487aea1c66af097d Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud <79562285+wangdan-fit2cloud@users.noreply.github.com> Date: Fri, 9 Jun 2023 15:52:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=88=E7=AB=AF=E5=85=A8=E5=B1=8F?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#1313)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What this PR does / why we need it? #### Summary of your change #### Please indicate you've done the following: - [ ] Made sure tests are passing and test coverage is added if needed. - [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/). - [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed. --- frontend/src/layout/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/layout/index.vue b/frontend/src/layout/index.vue index 18b997e45..530b56ade 100644 --- a/frontend/src/layout/index.vue +++ b/frontend/src/layout/index.vue @@ -39,6 +39,7 @@ let timer: NodeJS.Timer | null = null; const classObj = computed(() => { return { + fullScreen: globalStore.isFullScreen, hideSidebar: menuStore.isCollapse, openSidebar: !menuStore.isCollapse, mobile: globalStore.device === DeviceType.Mobile, @@ -162,6 +163,12 @@ onMounted(() => { width: calc(100% - var(--panel-menu-hide-width)); } } + +.fullScreen { + .main-container { + margin-left: 0px; + } +} // for mobile response 适配移动端 .mobile { .main-container {