From 45dac039f9e77f55fefe6ea1e761edd037bd13d8 Mon Sep 17 00:00:00 2001 From: c0mrade Date: Sun, 1 Feb 2026 23:49:52 +0300 Subject: [PATCH] fix: improve admin user detail tabs scroll and sync buttons design --- src/pages/AdminUserDetail.tsx | 68 +++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 30 deletions(-) diff --git a/src/pages/AdminUserDetail.tsx b/src/pages/AdminUserDetail.tsx index 0b2b947..7001140 100644 --- a/src/pages/AdminUserDetail.tsx +++ b/src/pages/AdminUserDetail.tsx @@ -36,13 +36,15 @@ const MinusIcon = () => ( ); -const SyncIcon = ({ className = 'w-5 h-5' }: { className?: string }) => ( +const ArrowDownIcon = ({ className = 'w-5 h-5' }: { className?: string }) => ( - + + +); + +const ArrowUpIcon = ({ className = 'w-5 h-5' }: { className?: string }) => ( + + ); @@ -310,23 +312,25 @@ export default function AdminUserDetail() { {/* Tabs */} -
- {(['info', 'subscription', 'balance', 'sync'] as const).map((tab) => ( - - ))} +
+
+ {(['info', 'subscription', 'balance', 'sync'] as const).map((tab) => ( + + ))} +
{/* Content */} @@ -823,22 +827,26 @@ export default function AdminUserDetail() {
{/* Sync buttons */} -
+