Skip to content

Commit e64a786

Browse files
authored
Fix tablet navigation overflow (#186)
Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com> Co-authored-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
1 parent e2be166 commit e64a786

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎app/components/Navbar.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default function Navbar() {
113113
<span>DocumentDB</span>
114114
</Link>
115115

116-
<div className="hidden items-center space-x-6 md:flex lg:space-x-8">
116+
<div className="hidden items-center space-x-6 xl:flex xl:space-x-8">
117117
{navItems.map((item) =>
118118
renderNavItem(
119119
item,
@@ -124,7 +124,7 @@ export default function Navbar() {
124124

125125
<button
126126
type="button"
127-
className="inline-flex h-10 w-10 items-center justify-center rounded-md border border-neutral-700 text-gray-200 transition-colors hover:border-blue-400 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-400 md:hidden"
127+
className="inline-flex h-10 w-10 items-center justify-center rounded-md border border-neutral-700 text-gray-200 transition-colors hover:border-blue-400 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-400 xl:hidden"
128128
aria-expanded={isMenuOpen}
129129
aria-controls="mobile-navigation"
130130
aria-label={isMenuOpen ? "Close navigation menu" : "Open navigation menu"}
@@ -143,7 +143,7 @@ export default function Navbar() {
143143
</div>
144144

145145
{isMenuOpen ? (
146-
<div id="mobile-navigation" className="border-t border-neutral-800 py-3 md:hidden">
146+
<div id="mobile-navigation" className="border-t border-neutral-800 py-3 xl:hidden">
147147
<div className="flex flex-col gap-1">
148148
{navItems.map((item) =>
149149
renderNavItem(

0 commit comments

Comments
 (0)