mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
style: make buttons more compact across admin pages
- Reduce base .btn padding from px-5 py-2.5 to px-4 py-2 - Change rounded-xl to rounded-lg for buttons - Remove hover:scale effect for cleaner look - Fix large buttons in AdminBanSystem, AdminBroadcastDetail - Compact toggle buttons in AdminPromoOfferSend
This commit is contained in:
@@ -352,7 +352,7 @@ export default function AdminBroadcastDetail() {
|
||||
<button
|
||||
onClick={() => stopMutation.mutate(broadcast.id)}
|
||||
disabled={stopMutation.isPending}
|
||||
className="flex w-full items-center justify-center gap-2 rounded-xl border border-error-500/30 bg-error-500/20 py-3 text-error-400 transition-colors hover:bg-error-500/30 disabled:opacity-50"
|
||||
className="flex w-full items-center justify-center gap-2 rounded-lg border border-error-500/30 bg-error-500/20 px-4 py-2 text-sm text-error-400 transition-colors hover:bg-error-500/30 disabled:opacity-50"
|
||||
>
|
||||
<StopIcon />
|
||||
{stopMutation.isPending ? t('admin.broadcasts.stopping') : t('admin.broadcasts.stop')}
|
||||
|
||||
Reference in New Issue
Block a user