fix: overflow hidden on scroll admin page
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user