File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 9898 <logo />
9999 </div >
100100 <el-scrollbar v-if =" computedMessages.length > 0" ref =" chatListRef" >
101- <div class =" chat-scroll" :class =" { 'no-sidebar': !isAssistant && !chatListSideBarShow }" >
101+ <div
102+ class =" chat-scroll"
103+ :class =" { 'no-sidebar': !isAssistant && !chatListSideBarShow, pad16: isAssistant }"
104+ >
102105 <template v-for =" (message , _index ) in computedMessages " :key =" _index " >
103106 <ChatRow :current-chat =" currentChat" :msg =" message" :hide-avatar =" message.first_chat" >
104107 <RecommendQuestion
@@ -875,6 +878,11 @@ onMounted(() => {
875878 & .no-sidebar {
876879 padding-left : 96px ;
877880 }
881+
882+ & .pad16 {
883+ padding-left : 16px ;
884+ padding-right : 16px ;
885+ }
878886 }
879887
880888 .chat-footer {
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ onBeforeUnmount(() => {
112112
113113<style lang="less" scoped>
114114.sqlbot-assistant-container {
115- height : 100 % ;
115+ height : 100 vh ;
116116 width : 100% ;
117117 color : rgb (31 , 35 , 41 );
118118 .header {
@@ -170,6 +170,7 @@ onBeforeUnmount(() => {
170170 }
171171 .sqlbot-chat-container {
172172 padding-top : 56px ;
173+ height : 100% ;
173174 :deep(.ed-aside ) {
174175 display : none ;
175176 }
You can’t perform that action at this time.
0 commit comments