mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-09 23:17:21 +08:00
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:
parent
9361c358f1
commit
457effae85
1 changed files with 7 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue