Cart: unify font size of bottom controls
The table-number input was text-lg and the dark action buttons (Confirm order, split-subaccount buttons) had no size class (text-base), clashing with the text-sm general-note field. Set all to text-sm so the bottom of the cart reads consistently.
This commit is contained in:
1 parent
cbb4a9e8ef
commit
b0be66990f
1 file changed
+5
-5
@@ -451,7 +451,7 @@ function TableInput({ value, onChange }: { value: string; onChange: (v: string)
|
||||
value={value}
|
||||
onChange={(e) => onChange(e.target.value)}
|
||||
placeholder={t('tableNumber')}
|
||||
className="glass-soft w-full rounded-2xl px-4 py-3 text-center text-lg outline-none"
|
||||
className="glass-soft w-full rounded-2xl px-4 py-3 text-center text-sm outline-none"
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -653,7 +653,7 @@ function OrderPanel({
|
||||
<button
|
||||
onClick={() => newName.trim() && onCreateSubaccount(newName.trim(), Number(table))}
|
||||
disabled={!newName.trim()}
|
||||
className="rounded-2xl bg-[#111] py-3 font-medium text-white disabled:opacity-50"
|
||||
className="rounded-2xl bg-[#111] py-3 text-sm font-medium text-white disabled:opacity-50"
|
||||
>
|
||||
{t('createSplit')}
|
||||
</button>
|
||||
@@ -661,7 +661,7 @@ function OrderPanel({
|
||||
) : (
|
||||
<button
|
||||
onClick={() => setPickNew(true)}
|
||||
className="rounded-2xl bg-[#111] py-3 font-medium text-white"
|
||||
className="rounded-2xl bg-[#111] py-3 text-sm font-medium text-white"
|
||||
>
|
||||
{t('imNew')}
|
||||
</button>
|
||||
@@ -671,7 +671,7 @@ function OrderPanel({
|
||||
<button
|
||||
onClick={send}
|
||||
disabled={!table || cart.length === 0 || sending}
|
||||
className="rounded-2xl bg-[#111] py-3 font-medium text-white disabled:opacity-50"
|
||||
className="rounded-2xl bg-[#111] py-3 text-sm font-medium text-white disabled:opacity-50"
|
||||
>
|
||||
{t('confirmOrder')}
|
||||
</button>
|
||||
@@ -714,7 +714,7 @@ function WaiterPanel({
|
||||
<button
|
||||
onClick={send}
|
||||
disabled={!table || sending}
|
||||
className="rounded-2xl bg-[#111] py-3 font-medium text-white disabled:opacity-50"
|
||||
className="rounded-2xl bg-[#111] py-3 text-sm font-medium text-white disabled:opacity-50"
|
||||
>
|
||||
{t('send')}
|
||||
</button>
|
||||
|
||||
Reference in new issue
Block a user