File tree 2 files changed +23
-21
lines changed
2 files changed +23
-21
lines changed Original file line number Diff line number Diff line change @@ -100,24 +100,26 @@ const pages = [
100
100
</script >
101
101
102
102
<template >
103
- <h5 class =" mb-8 font-semibold text-slate-900 dark:text-slate-200 lg:mb-3" >
104
- Cheatsheet
105
- </h5 >
106
- <ul
107
- class =" space-y-6 border-l border-slate-100 dark:border-slate-800 lg:space-y-2"
108
- >
109
- <li v-for =" item in pages" :key =" item.name" >
110
- <router-link
111
- :to =" item.path"
112
- class =" -ml-px block border-l border-transparent pl-4"
113
- :class ="
114
- $route.path === item.path
115
- ? 'border-current font-semibold text-sky-500 dark:text-sky-400'
116
- : 'text-slate-700 hover:border-slate-400 hover:text-slate-900 dark:text-slate-400 dark:hover:border-slate-500 dark:hover:text-slate-300'
117
- "
118
- >
119
- {{ item.name }}
120
- </router-link >
121
- </li >
122
- </ul >
103
+ <div class =" mt-5" >
104
+ <h5 class =" mb-8 font-semibold text-slate-900 dark:text-slate-200 lg:mb-3" >
105
+ Cheatsheet
106
+ </h5 >
107
+ <ul
108
+ class =" space-y-6 border-l border-slate-100 dark:border-slate-800 lg:space-y-2"
109
+ >
110
+ <li v-for =" item in pages" :key =" item.name" >
111
+ <router-link
112
+ :to =" item.path"
113
+ class =" -ml-px block border-l border-transparent pl-4"
114
+ :class ="
115
+ $route.path === item.path
116
+ ? 'border-current font-semibold text-sky-500 dark:text-sky-400'
117
+ : 'text-slate-700 hover:border-slate-400 hover:text-slate-900 dark:text-slate-400 dark:hover:border-slate-500 dark:hover:text-slate-300'
118
+ "
119
+ >
120
+ {{ item.name }}
121
+ </router-link >
122
+ </li >
123
+ </ul >
124
+ </div >
123
125
</template >
Original file line number Diff line number Diff line change 11
11
<div class =" hidden pt-6 lg:col-span-3 lg:block xl:col-span-3" >
12
12
<nav
13
13
aria-label =" Sidebar"
14
- class =" fixed inset-0 top-[5.255rem ] left-[max(0px,calc(50%-40rem))] right-auto z-20 hidden w-[19.5rem] overflow-y-auto px-8 pt-5 lg:block"
14
+ class =" fixed inset-0 top-[3.655rem ] left-[max(0px,calc(50%-40rem))] right-auto z-20 hidden w-[19.5rem] overflow-y-auto px-8 pt-5 lg:block"
15
15
>
16
16
<the-sidebar />
17
17
</nav >
You can’t perform that action at this time.
0 commit comments