fix(ui): improve mobile responsiveness across admin components
- reduce app name font size from text-lg to text-sm in AdminTop mobile header - make profile page cards full-width on mobile with sm:min-w-3/5 breakpoint - stack photo upload layout vertically on mobile using flex-col sm:flex-row - add flex-wrap to photo action buttons for small screens - make TabNav horizontally scrollable with hidden scrollbar on mobile - add shrink-0 and whitespace-nowrap to tab buttons to prevent wrapping
This commit is contained in:
@@ -91,7 +91,7 @@ const AdminTop = ({ isMobileMenuOpen, setIsMobileMenuOpen, user, onLogout, appNa
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d={isMobileMenuOpen ? "M6 18L18 6M6 6l12 12" : "M4 6h16M4 12h16M4 18h16"} />
|
||||
</svg>
|
||||
</button>
|
||||
<h1 className="text-neutral-900 dark:text-white font-semibold text-lg">{appName}</h1>
|
||||
<h1 className="text-neutral-900 dark:text-white font-semibold text-sm">{appName}</h1>
|
||||
</div>
|
||||
|
||||
{/* Desktop breadcrumb — always rendered to keep user menu pinned right */}
|
||||
|
||||
Reference in New Issue
Block a user