Pārlūkot izejas kodu

fix: 处理项目配置栏底部在小屏幕上显示不全问题 (#232)

fix: 处理项目配置栏底部在小屏幕上显示不全问题
xc_Arxher 3 gadi atpakaļ
vecāks
revīzija
bafd9522e0
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      src/layout/components/panel/index.vue

+ 3 - 3
src/layout/components/panel/index.vue

@@ -54,7 +54,7 @@ emitter.on("openPanel", () => {
 
 .right-panel {
   width: 100%;
-  max-width: 300px;
+  max-width: 315px;
   height: 100vh;
   position: fixed;
   top: 0;
@@ -105,8 +105,8 @@ emitter.on("openPanel", () => {
 
 .right-panel-items {
   margin-top: 60px;
-  height: 100vh;
-  overflow: auto;
+  height: calc(100vh - 60px);
+  overflow-y: auto;
 }
 
 .project-configuration {