File tree Expand file tree Collapse file tree 6 files changed +44
-45
lines changed
Expand file tree Collapse file tree 6 files changed +44
-45
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ body {
3232 height : 100% ;
3333}
3434
35+ body ::-webkit-scrollbar {
36+ display : none ;
37+ }
38+
3539/* Do not force capitalization of button text */
3640.v-btn {
3741 text-transform : unset !important ;
Original file line number Diff line number Diff line change @@ -32,30 +32,29 @@ const { hasComponent } = useRouteFeatures()
3232 </v-btn >
3333 </template >
3434 </v-snackbar >
35- <SidebarLayout v-if =" hasComponent('sideDrawer').value" class = " position-fixed " >
35+ <SidebarLayout v-if =" hasComponent('sideDrawer').value" >
3636 <router-view name =" sideDrawer" />
3737 <template #append >
3838 <router-view v-if =" hasComponent('sideDock').value" name =" sideDock" />
3939 </template >
4040 </SidebarLayout >
41- <HeaderLayout class = " position-fixed " />
42- <v-main class =" d-flex justify-center" >
41+ <HeaderLayout />
42+ <v-main class =" d-flex justify-center" scrollable >
4343 <v-container >
44- <router-view name =" centralStage" />
45- <router-view />
44+ <v-sheet >
45+ <router-view name =" centralStage" />
46+ <router-view />
47+ </v-sheet >
4648 </v-container >
4749 </v-main >
48- <FooterLayout v-if =" hasComponent('bottomConsole').value" class = " position-fixed " >
50+ <FooterLayout v-if =" hasComponent('bottomConsole').value" >
4951 <router-view name =" bottomConsole" />
5052 </FooterLayout >
5153 </v-layout >
5254 </v-app >
5355</template >
5456
55- <style scoped>
56- .position-fixed {
57- position : fixed ;
58- }
57+ <style >
5958.snack-span {
6059 word-break : break-word ;
6160}
Original file line number Diff line number Diff line change 1- <script setup lang="tsx "></script >
1+ <script setup lang="ts "></script >
22<template >
33 <v-footer app >
44 <slot />
Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ const items = computed(() => {
7878 :order =" -1"
7979 color =" primary"
8080 height =" 36"
81- rounded =" be-lg"
8281 >
8382 <v-app-bar-nav-icon
8483 class =" ml-2 no-drag"
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const commandNotify = (item: PopupPromptsType) => {
2727<template >
2828 <v-app >
2929 <v-layout >
30- <v-app-bar class =" py-2 px-3 drag gradient-command" density =" compact" >
30+ <v-app-bar class =" py-2 px-3 drag gradient-command" block density =" compact" >
3131 <v-text-field
3232 v-model =" search"
3333 class =" no-drag"
@@ -39,43 +39,40 @@ const commandNotify = (item: PopupPromptsType) => {
3939 hide-details
4040 ></v-text-field >
4141 </v-app-bar >
42- <v-main scrollable >
43- <v-sheet variant =" flat" class =" pt-4" >
44- <v-data-iterator
45- :items =" promptData"
46- :items-per-page =" -1"
47- :search =" search"
48- class =" container"
49- >
50- <template #default =" { items } " >
51- <v-list density =" compact" nav class =" container" >
52- <v-list-item
53- v-for =" (item, i) in items"
54- :key =" i"
55- :value =" item"
56- color =" primary"
57- slim
58- :title =" item.raw.title"
59- @click =" commandNotify(item.raw)"
60- >
61- <template #prepend >
62- <v-icon class =" mx-0" :icon =" item.raw.icon || 'mdi-file-outline'" ></v-icon >
63- </template >
64- </v-list-item >
65- </v-list >
66- </template >
67- </v-data-iterator >
68- </v-sheet >
42+ <v-main class =" d-flex justify-center" scrollable >
43+ <v-container class =" px-0 pb-0" >
44+ <v-sheet >
45+ <v-data-iterator
46+ :items =" promptData"
47+ :items-per-page =" -1"
48+ :search =" search"
49+ >
50+ <template #default =" { items } " >
51+ <v-list density =" compact" nav >
52+ <v-list-item
53+ v-for =" (item, i) in items"
54+ :key =" i"
55+ :value =" item"
56+ color =" primary"
57+ slim
58+ :title =" item.raw.title"
59+ @click =" commandNotify(item.raw)"
60+ >
61+ <template #prepend >
62+ <v-icon class =" mx-0" :icon =" item.raw.icon || 'mdi-file-outline'" ></v-icon >
63+ </template >
64+ </v-list-item >
65+ </v-list >
66+ </template >
67+ </v-data-iterator >
68+ </v-sheet >
69+ </v-container >
6970 </v-main >
7071 </v-layout >
7172 </v-app >
7273</template >
7374
7475<style >
75- body ::-webkit-scrollbar {
76- display : none ;
77- }
78-
7976.drag {
8077 app-region : drag;
8178}
Original file line number Diff line number Diff line change 1- <script setup lang="tsx ">
1+ <script setup lang="ts ">
22import ChatInputPage from ' @/renderer/components/pages/ChatInputPage.vue'
33 </script >
44<template >
You can’t perform that action at this time.
0 commit comments