File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 line-height : 40px ;
4747 display : table;
4848 border-bottom : solid 1px var (--el-menu-border-color );
49+ flex-shrink : 0 ;
4950}
5051
5152.menu-left {
Original file line number Diff line number Diff line change @@ -63,28 +63,28 @@ const isChatbotEnabled = import.meta.env.VITE_CHATBOT_ENABLED === 'true'
6363 </div >
6464 </Pane >
6565 <Pane :size =" 80" >
66- <el-container class =" main" >
67- <!-- <el-header class="collections">
68- <Collections />
69- </el-header>-->
70- <el-header class =" menu" >
66+ <div class =" main" >
67+ <div class =" menu" >
7168 <Menu />
72- </el-header >
73- <el-container class =" middle" >
74- <el-aside class =" summary" :width =" hasOperationId ? '50%' : '100%'" >
69+ </div >
70+ <Splitpanes v-if =" hasOperationId" class =" middle" >
71+ <Pane :size =" 50" >
72+ <div class =" summary" >
73+ <RouterView name =" body" />
74+ </div >
75+ </Pane >
76+ <Pane :size =" 50" >
77+ <div class =" preview" >
78+ <RouterView name =" preview" />
79+ </div >
80+ </Pane >
81+ </Splitpanes >
82+ <div v-else class =" middle" >
83+ <div class =" summary" >
7584 <RouterView name =" body" />
76- </el-aside >
77- <el-main v-if =" hasOperationId" class =" preview" >
78- <!-- right -->
79- <RouterView class =" preview" name =" preview" />
80- </el-main >
81- </el-container >
82-
83- <!-- <el-footer> -->
84- <!-- Bottom -->
85- <!-- Footer
86- </el-footer>-->
87- </el-container >
85+ </div >
86+ </div >
87+ </div >
8888 <ChatWidget v-if =" isChatbotEnabled" />
8989 </Pane >
9090 </Splitpanes >
@@ -95,10 +95,13 @@ const isChatbotEnabled = import.meta.env.VITE_CHATBOT_ENABLED === 'true'
9595 height : 100% ;
9696}
9797.summary {
98- max-height : 100% ;
98+ height : 100% ;
99+ overflow : auto ;
99100}
100101.main {
101102 height : 100% ;
103+ display : flex ;
104+ flex-direction : column ;
102105 overflow : hidden ;
103106}
104107.search-nav {
@@ -107,13 +110,14 @@ const isChatbotEnabled = import.meta.env.VITE_CHATBOT_ENABLED === 'true'
107110 overflow : hidden ;
108111}
109112.middle {
110- height : 100 % ;
113+ flex : 1 ;
111114 overflow : hidden ;
112115}
113116.preview {
114117 color : white ;
115118 background-color : #151d30 ;
116- max-height : 100% ;
119+ height : 100% ;
120+ overflow : auto ;
117121}
118122.collections {
119123 margin-left : -20px ;
You can’t perform that action at this time.
0 commit comments