Fix admin portal nav scrollbar by hiding vertical overflow
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e935dc08f1
commit
6f8054c63d
@ -30,7 +30,7 @@ export default function AdminPortal() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Horizontal tab navigation — evenly spaced on mobile, left-aligned on desktop */}
|
{/* Horizontal tab navigation — evenly spaced on mobile, left-aligned on desktop */}
|
||||||
<nav className="flex items-center justify-evenly md:justify-start flex-1 md:flex-none md:gap-1 h-full min-w-0 overflow-x-auto">
|
<nav className="flex items-center justify-evenly md:justify-start flex-1 md:flex-none md:gap-1 h-full min-w-0 overflow-x-auto overflow-y-hidden">
|
||||||
{tabs.map(({ label, path, icon: Icon }) => {
|
{tabs.map(({ label, path, icon: Icon }) => {
|
||||||
const isActive = location.pathname.startsWith(path);
|
const isActive = location.pathname.startsWith(path);
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user