fix: 终端全屏问题 (#1313)

#### 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.
This commit is contained in:
wangdan-fit2cloud 2023-06-09 15:52:10 +08:00 committed by GitHub
parent 9361c358f1
commit 457effae85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {