www: remove counters in sidebar (#1624)

This commit is contained in:
Marvin Hagemeister
2023-08-12 17:56:47 +02:00
committed by GitHub
parent 86f92114d8
commit 4a921d91b2
+4 -4
View File
@@ -61,11 +61,11 @@ export default function DocsSidebar(
/> />
</div> </div>
<ol class="list-decimal list-inside font-semibold nested ml-2.5"> <ul class="list-inside font-semibold nested ml-2.5">
{CATEGORIES[props.selectedVersion].map((category) => ( {CATEGORIES[props.selectedVersion].map((category) => (
<SidebarCategory path={props.path} category={category} /> <SidebarCategory path={props.path} category={category} />
))} ))}
</ol> </ul>
</> </>
); );
} }
@@ -87,11 +87,11 @@ export function SidebarCategory(props: {
{title} {title}
</a> </a>
{entries.length > 0 && ( {entries.length > 0 && (
<ol class="pb-2 pl-4 list-decimal nested list-outside"> <ul class="py-2 pl-4 nested list-outside">
{entries.map((entry) => ( {entries.map((entry) => (
<SidebarEntry path={props.path} entry={entry} /> <SidebarEntry path={props.path} entry={entry} />
))} ))}
</ol> </ul>
)} )}
</li> </li>
); );