Adjust admin layout for better mobile responsiveness
Modify `admin.tsx` to make the SheetContent component take full width on small screens and maintain its size on larger breakpoints. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 77cfe984-2c65-4152-bb7a-0df28274fe66 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 899a3c34-3fca-42ce-9c3b-9f61e5bfad3e Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/c3c252e4-c83d-40ca-9fff-99a3ea60701e/77cfe984-2c65-4152-bb7a-0df28274fe66/g3CniBE Replit-Helium-Checkpoint-Created: true
This commit is contained in:
@@ -223,7 +223,7 @@ export default function AdminPage() {
|
||||
<MenuIcon size={20} />
|
||||
</button>
|
||||
</SheetTrigger>
|
||||
<SheetContent side={isRtl ? "right" : "left"} className="w-72 p-4">
|
||||
<SheetContent side={isRtl ? "right" : "left"} className="w-full sm:w-72 p-4">
|
||||
<div className="flex items-center gap-2 mb-4 mt-2">
|
||||
<Settings size={18} className="text-red-400" />
|
||||
<h2 className="font-semibold text-foreground">{t("admin.title")}</h2>
|
||||
|
||||
Reference in New Issue
Block a user