3636 <NuxtLink to =" /settings" title =" Settings" class =" layout-sidebar__link" >
3737 <IconSvg class =" layout-sidebar__link-icon" name =" settings" />
3838 </NuxtLink >
39+ </nav >
3940
40- <div class =" layout-sidebar__nav-versions" >
41- <div
42- v-if =" apiVersion"
43- class =" layout-sidebar__nav-version"
44- :title =" `Api version: ${apiVersion}`"
45- >
46- {{ apiVersion }}
47- </div >
48-
49- <div
50- v-if =" clientVersion"
51- class =" layout-sidebar__nav-version"
52- :title =" `Client version: ${clientVersion}`"
53- >
54- {{ clientVersion }}
55- </div >
41+ <div class =" layout-sidebar__versions" >
42+ <div
43+ v-if =" apiVersion"
44+ class =" layout-sidebar__nav-version"
45+ :title =" `Api version: ${apiVersion}`"
46+ >
47+ {{ apiVersion }}
5648 </div >
57- </nav >
49+
50+ <div
51+ v-if =" clientVersion"
52+ class =" layout-sidebar__nav-version"
53+ :title =" `Client version: ${clientVersion}`"
54+ >
55+ {{ clientVersion }}
56+ </div >
57+ </div >
5858 </aside >
5959</template >
6060
@@ -84,11 +84,11 @@ export default defineComponent({
8484
8585<style lang="scss" scoped>
8686.layout-sidebar {
87- @apply bg-gray-200 dark :bg- gray- 800 flex flex- col justify- between z- 50 w- full h- full;
87+ @apply bg-gray-200 dark :bg- gray- 800 flex flex- col justify- between z- 50 w- full h- full sticky top - 0 h - screen max - h - screen ;
8888}
8989
9090.layout-sidebar__nav {
91- @apply divide-y divide-gray-300 dark :divide- gray- 600 sticky top - 0 h - screen max - h - screen ;
91+ @apply divide-gray-300 dark :divide - gray - 600 flex - col flex overflow - auto divide - y divide- gray- 300 dark :divide- gray- 600 border - b border - gray - 300 dark :border - gray - 600 ;
9292}
9393
9494.layout-sidebar__link {
@@ -103,12 +103,8 @@ export default defineComponent({
103103 @apply fill-current ;
104104}
105105
106- .layout-sidebar__nav-versions {
107- @apply flex justify-center text-xs dark :text- gray- 600 text- gray- 400 py- 2 px- 1 absolute bottom- 0 left- 0 right- 0 flex- col;
108- }
109-
110- .layout-sidebar__nav-version {
111- @apply whitespace-nowrap text-center ;
106+ .layout-sidebar__versions {
107+ @apply flex justify-center text-xs dark :text- gray- 600 text- gray- 400 py- 2 px- 1 left- 0 right- 0 flex- col mt- auto whitespace- nowrap text- center border- t border- gray- 300 dark :border- gray- 600;
112108
113109 font-size : 0.8em ;
114110}
0 commit comments