fix: overflow hidden on scroll admin page

This commit is contained in:
2026-07-07 15:09:31 +03:00
parent f84d20ba20
commit 7916c81ece
+3 -3
View File
@@ -25,14 +25,14 @@ export default function AdminPage() {
</h1>
{/* Вкладки */}
<div className="flex gap-2 mb-8 border-b border-white/10">
<div className="flex overflow-x-auto whitespace-nowrap gap-2 mb-8 border-b border-white/10">
{tabs.map((t) => (
<button
key={t.key}
onClick={() => setTab(t.key)}
className={`px-4 py-2 text-sm uppercase transition-colors ${tab === t.key
? "text-white border-b-2 border-gold"
: "text-white/50 hover:text-white/80"
? "text-white border-b-2 border-gold"
: "text-white/50 hover:text-white/80"
}`}
>
{t.label}