mirror of
https://gitee.com/fit2cloud-feizhiyun/1Panel.git
synced 2024-12-02 11:57:56 +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
@ -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…
Reference in New Issue
Block a user