Skip to content

Commit 11a3903

Browse files
author
bloom
committed
themes/docs: improve navbar
1 parent c494850 commit 11a3903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/docs/src/ui/components/navbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<!-- <nav> -->
33
<Disclosure as="nav" class="w-full shadow-sm bg-[var(--mdninja-background)]" v-slot="{ open }">
4-
<div class="mx-auto max-w-7xl px-2 xs:px-4 sm:px-8">
4+
<div :class="[!hasSidebar && 'max-w-7xl', 'mx-autopx-2 xs:px-4 sm:px-8']">
55
<div class="flex h-16 justify-between w-full">
66
<div class="flex">
77
<div v-if="hasSidebar && website.navigation.secondary.length > 0"class="flex items-center md:hidden">

0 commit comments

Comments
 (0)