mirror of https://github.com/1Panel-dev/1Panel
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.pull/1314/head
parent
9361c358f1
commit
457effae85
|
@ -39,6 +39,7 @@ let timer: NodeJS.Timer | null = null;
|
||||||
|
|
||||||
const classObj = computed(() => {
|
const classObj = computed(() => {
|
||||||
return {
|
return {
|
||||||
|
fullScreen: globalStore.isFullScreen,
|
||||||
hideSidebar: menuStore.isCollapse,
|
hideSidebar: menuStore.isCollapse,
|
||||||
openSidebar: !menuStore.isCollapse,
|
openSidebar: !menuStore.isCollapse,
|
||||||
mobile: globalStore.device === DeviceType.Mobile,
|
mobile: globalStore.device === DeviceType.Mobile,
|
||||||
|
@ -162,6 +163,12 @@ onMounted(() => {
|
||||||
width: calc(100% - var(--panel-menu-hide-width));
|
width: calc(100% - var(--panel-menu-hide-width));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fullScreen {
|
||||||
|
.main-container {
|
||||||
|
margin-left: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
// for mobile response 适配移动端
|
// for mobile response 适配移动端
|
||||||
.mobile {
|
.mobile {
|
||||||
.main-container {
|
.main-container {
|
||||||
|
|
Loading…
Reference in New Issue