fix(StorageCleaner, Base64Converter): fix layout padding and checkbox alignment

- StorageCleaner: add px-3.5 to grid container to prevent content sticking to border
- StorageCleaner: adjust select-all bar to pl-3.5 pr-7 for checkbox alignment with grid items
- Base64Converter: add px-2 to TextMode and Base64ConverterSection for consistent spacing

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
雨霖铃
2026-05-29 19:38:28 +08:00
parent 77168e2652
commit 98abe59731
3 changed files with 4 additions and 4 deletions
@@ -42,7 +42,7 @@ export default function StorageOptionsGrid({
return (
<div className={cn('w-full overflow-hidden', className)} {...props}>
<div className="px-0 pt-3.5 pb-2">
<div className="px-3.5 pt-3.5 pb-2">
<div className="grid grid-cols-2 gap-2 items-stretch">
{optionKeys.map(({ key, isCount }) => (
<OptionItem
@@ -59,7 +59,7 @@ export default function StorageOptionsGrid({
<div
onClick={handleToggleAll}
className="border-t border-border flex justify-between items-center px-3.5 py-2.5 bg-muted/20 hover:bg-muted/40 cursor-pointer select-none transition-colors"
className="border-t border-border flex justify-between items-center pl-3.5 pr-7 py-2.5 bg-muted/20 hover:bg-muted/40 cursor-pointer select-none transition-colors"
>
<Label className="text-xs font-bold text-muted-foreground/90 cursor-pointer tracking-wide uppercase">
{t('storageCleaner:selectAll')}