Build [v1.14.22]
This commit is contained in:
@@ -98,7 +98,7 @@ export default function QuantityAdjustmentModal({
|
||||
|
||||
{/* Quantity Adjustment */}
|
||||
<div>
|
||||
<label className="text-sm font-medium text-slate-400 mb-3 block">
|
||||
<label className="text-sm font-normal text-slate-400 mb-3 block">
|
||||
Current quantity
|
||||
</label>
|
||||
<QuantityDisplay
|
||||
@@ -112,9 +112,9 @@ export default function QuantityAdjustmentModal({
|
||||
<div className="flex gap-2 pt-2">
|
||||
<button
|
||||
onClick={handleClose}
|
||||
className="flex-1 px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-100 rounded-lg font-medium transition-colors"
|
||||
className="flex-1 px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-100 rounded-lg font-normal transition-colors"
|
||||
>
|
||||
Cancel
|
||||
Keep Current Quantity
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -103,7 +103,7 @@ export default function QuantityDisplay({
|
||||
onKeyDown={handleKeyDown}
|
||||
disabled={isLoading}
|
||||
aria-label="Quantity"
|
||||
className="w-12 text-center bg-transparent text-primary font-medium focus:outline-none disabled:opacity-50"
|
||||
className="w-12 text-center bg-transparent text-primary font-normal focus:outline-none disabled:opacity-50"
|
||||
/>
|
||||
|
||||
<button
|
||||
@@ -123,7 +123,7 @@ export default function QuantityDisplay({
|
||||
onClick={handleTapToEdit}
|
||||
disabled={isLoading}
|
||||
aria-label={`Quantity: ${currentQuantity}. Tap to edit`}
|
||||
className="text-lg font-medium text-primary hover:bg-slate-900/30 px-3 py-2 rounded-lg transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
|
||||
className="text-lg font-normal text-primary hover:bg-slate-900/30 px-3 py-2 rounded-lg transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
|
||||
>
|
||||
{currentQuantity}
|
||||
</button>
|
||||
|
||||
@@ -175,10 +175,10 @@ export default function SearchModal({
|
||||
className="w-full p-4 text-left hover:bg-slate-900 transition-colors focus:outline-none focus:bg-slate-900 focus:ring-2 focus:ring-primary/50"
|
||||
>
|
||||
<div className="flex justify-between items-start gap-2 mb-1">
|
||||
<h3 className="font-medium text-slate-100 flex-1">
|
||||
<h3 className="font-normal text-slate-100 flex-1">
|
||||
{item.name}
|
||||
</h3>
|
||||
<span className="text-primary font-medium text-sm whitespace-nowrap">
|
||||
<span className="text-primary font-normal text-sm whitespace-nowrap">
|
||||
Qty: {item.quantity}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user