File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
-}}
8
8
<!-- Main navigation for the sidebar -->
9
- < div class ="px-4 py-2 " x-data ="{ expanded: false } ">
9
+ < div class ="px-2 py-4 md:hidden text-gray-700 dark:text-gray-200 card " x-data ="{ expanded: false } ">
10
10
< div class ="flex w-full items-center justify-between ">
11
11
<!-- Current section: use menu, fall back to current section or page -->
12
12
{{- $curr := .FirstSection }}
31
31
</ a >
32
32
< button
33
33
@click ="expanded = !expanded "
34
- class ="rounded-sm hover:bg-gray-300 hover:dark:bg-gray-300 "
34
+ class ="rounded-sm hover:bg-gray-200 hover:dark:bg-gray-800 "
35
35
>
36
36
< span x-show ="! expanded " class ="icon-svg ">
37
37
{{ partialCached "icon" "arrow_drop_down" "arrow_drop_down" }}
58
58
{{ end }}
59
59
</ ul >
60
60
</ div >
61
- < hr class =" m-2 text-gray-200 dark:text-gray-500 " />
61
+
Original file line number Diff line number Diff line change 8
8
*/
9
9
-}}
10
10
<!-- section tree -->
11
- < nav class ="navbar-font flex flex-col ">
12
- < div class ="block py-4 text-gray-200 md:hidden dark:text-gray-200 ">
13
- This section
14
- </ div >
11
+ < nav class ="navbar-font flex flex-col mt-1 mx-1 ">
15
12
< ul >
16
13
{{ template "renderChildren" .FirstSection }}
17
14
</ ul >
You can’t perform that action at this time.
0 commit comments