File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const paddingLeft = computed(() => `${0.5 + props.level * 0.8}rem`)
2424 </script >
2525
2626<template >
27- <div class =" content-nav-item" >
27+ <div v-if = " resolved " class =" content-nav-item" >
2828 <template v-if =" resolved .children ?.length " >
2929 <details :open =" route.path.includes(resolved.path)" >
3030 <summary >
@@ -33,8 +33,8 @@ const paddingLeft = computed(() => `${0.5 + props.level * 0.8}rem`)
3333 hover =" text-primary bg-active"
3434 :style =" { paddingLeft }"
3535 >
36- <div class =" caret" i-ph-caret-right-duotone text-sm op50 transition duration-400 />
37- <div i-ph-folder-simple-duotone />
36+ <div class =" caret" i-ph-caret-right-duotone flex-none text-sm op50 transition duration-400 />
37+ <div i-ph-folder-simple-duotone flex-none />
3838 <div ml1 >
3939 {{ resolved.title }}
4040 </div >
@@ -60,8 +60,8 @@ const paddingLeft = computed(() => `${0.5 + props.level * 0.8}rem`)
6060 hover =" text-primary bg-active "
6161 @click =" ui.isContentDropdownShown = false"
6262 >
63- <div i-ph-caret-right-duotone class = " caret " text-sm op0 />
64- <div i-ph-file-duotone />
63+ <div class = " caret " i-ph-caret-right-duotone flex-none text-sm op0 />
64+ <div i-ph-file-duotone flex-none />
6565 <div ml1 >
6666 {{ resolved.title }}
6767 </div >
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ router.beforeEach(() => {
9696
9797<template >
9898 <div grid =" ~ rows-[max-content_1fr]" relative h-full >
99- <div flex =" ~ gap-x-2 items-center wrap" border =" b base dashed" bg-faded px4 py2 >
99+ <div flex =" ~ gap-x-2 gap-y-1 items-center wrap" border =" b base dashed" bg-faded px4 py2 >
100100 <div i-ph-book-duotone flex-none />
101101 <template v-for =" bc , idx of breadcrumbs " :key =" bc .path " >
102102 <div v-if =" idx !== 0" i-ph-caret-right mx--1 text-sm op50 />
@@ -105,7 +105,7 @@ router.beforeEach(() => {
105105 </NuxtLink >
106106 </template >
107107 <button
108- h-full flex-auto
108+ h-1em flex-auto
109109 @click =" ui.isContentDropdownShown = !ui.isContentDropdownShown"
110110 />
111111 <button
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ const panelInitEditor = computed(() => isMounted.value || {
6868 border =" b base dashed"
6969 bg-faded px4 py2
7070 >
71- <div i-ph-tree-structure-duotone />
71+ <div i-ph-tree-structure-duotone flex-none />
7272 <span text-sm >{{ $t('files') }}</span >
7373 </div >
7474 <div py2 >
You can’t perform that action at this time.
0 commit comments