Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions app/components/DocsHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ const groupItems = computed(() =>

class="hidden @min-[40rem]/docs-pane:flex"
:ui="{
// list: 'flex items-center gap-2 rounded-full ring ring-inset ring-accented bg-elevated p-0.5',
// item: 'py-0',
// link: 'rounded-full px-3 py-1 text-base before:rounded-full before:inset-0 data-[active]:before:bg-transparent! aria-[current=page]:before:bg-transparent!',
// linkLeadingIcon: 'size-4',
linkLeadingIcon: 'size-4',
linkTrailingIcon: 'size-4',
}"
/>
</template>
Expand Down Expand Up @@ -80,7 +78,7 @@ const groupItems = computed(() =>
:class="active ? 'text-primary font-medium' : 'text-muted'"

>
<UIcon v-if="link.icon" :name="link.icon" class="size-5 shrink-0" />
<UIcon v-if="link.icon" :name="link.icon" class="size-4 shrink-0" />
{{ link.title }}
</span>
<span
Expand All @@ -89,7 +87,7 @@ const groupItems = computed(() =>
:class="active ? 'text-primary' : 'text-highlighted'"

>
<UIcon v-if="link.icon" :name="link.icon" class="size-5 shrink-0" />
<UIcon v-if="link.icon" :name="link.icon" class="size-4 shrink-0" />
{{ link.title }}
</span>
</template>
Expand Down
4 changes: 4 additions & 0 deletions app/components/DocsSubNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ defineProps<{
:items="items"
orientation="horizontal"
variant="link"
:ui="{
linkLeadingIcon: 'size-4',
linkTrailingIcon: 'size-4',
}"
/>
<SettingsDrawerTrigger show-label />
</UContainer>
Expand Down
Loading