Skip to content

Commit

Permalink
fix: indentation bug on groups (#1829)
Browse files Browse the repository at this point in the history
* fix: indentation bug on groups

* docs(changeset): fix: indentation bug on groups
  • Loading branch information
marclave committed May 22, 2024
1 parent 32305d6 commit 37471ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/breezy-apples-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@scalar/api-reference": patch
---

fix: indentation bug on groups
2 changes: 1 addition & 1 deletion packages/api-reference/src/components/Sidebar/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ onMounted(() => {
}
">
<template v-if="group.children && group.children?.length > 0">
<SidebarGroup :level="2">
<SidebarGroup :level="1">
<template
v-for="child in group.children"
:key="child.id">
Expand Down

0 comments on commit 37471ee

Please sign in to comment.