chore: clean up order-wizard layout text and spacing
All checks were successful
Staging Build / build (push) Successful in 2m32s
All checks were successful
Staging Build / build (push) Successful in 2m32s
This commit is contained in:
@@ -663,7 +663,7 @@ export function OrderWizard({
|
|||||||
Für wen bestellen Sie?
|
Für wen bestellen Sie?
|
||||||
</CardTitle>
|
</CardTitle>
|
||||||
<CardDescription className="text-slate-300">
|
<CardDescription className="text-slate-300">
|
||||||
Wählen Sie einen Endkunden aus Ihrem CRM oder legen Sie einen neuen an.
|
Wählen Sie einen Endkunden aus oder legen Sie einen neuen an.
|
||||||
</CardDescription>
|
</CardDescription>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent className="space-y-6">
|
<CardContent className="space-y-6">
|
||||||
@@ -1023,8 +1023,7 @@ export function OrderWizard({
|
|||||||
<div key={product.id} className="relative">
|
<div key={product.id} className="relative">
|
||||||
<Label
|
<Label
|
||||||
onClick={() => !disabled && selectProduct(cat.id, product.id)}
|
onClick={() => !disabled && selectProduct(cat.id, product.id)}
|
||||||
className={`flex flex-col items-start p-4 rounded-xl border-2 transition-all ${
|
className={`flex flex-col items-start p-4 rounded-xl border-2 transition-all ${disabled
|
||||||
disabled
|
|
||||||
? 'border-white/5 bg-white/5 opacity-50 cursor-not-allowed'
|
? 'border-white/5 bg-white/5 opacity-50 cursor-not-allowed'
|
||||||
: isChecked
|
: isChecked
|
||||||
? 'border-primary bg-primary/5 cursor-pointer'
|
? 'border-primary bg-primary/5 cursor-pointer'
|
||||||
@@ -1036,7 +1035,7 @@ export function OrderWizard({
|
|||||||
<Checkbox
|
<Checkbox
|
||||||
checked={isChecked}
|
checked={isChecked}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
onCheckedChange={() => {}} // onClick on label handles it
|
onCheckedChange={() => { }} // onClick on label handles it
|
||||||
className="border-white/20 data-[state=checked]:bg-primary"
|
className="border-white/20 data-[state=checked]:bg-primary"
|
||||||
/>
|
/>
|
||||||
<span className="font-bold text-base text-white">{product.name}</span>
|
<span className="font-bold text-base text-white">{product.name}</span>
|
||||||
@@ -1083,8 +1082,7 @@ export function OrderWizard({
|
|||||||
/>
|
/>
|
||||||
<Label
|
<Label
|
||||||
htmlFor={disabled ? undefined : `${cat.id}-${product.id}`}
|
htmlFor={disabled ? undefined : `${cat.id}-${product.id}`}
|
||||||
className={`flex flex-col items-start p-4 rounded-xl border-2 border-white/5 bg-white/5 transition-all ${
|
className={`flex flex-col items-start p-4 rounded-xl border-2 border-white/5 bg-white/5 transition-all ${disabled
|
||||||
disabled
|
|
||||||
? 'opacity-50 cursor-not-allowed'
|
? 'opacity-50 cursor-not-allowed'
|
||||||
: 'hover:bg-white/10 peer-data-[state=checked]:border-primary peer-data-[state=checked]:bg-primary/5 cursor-pointer'
|
: 'hover:bg-white/10 peer-data-[state=checked]:border-primary peer-data-[state=checked]:bg-primary/5 cursor-pointer'
|
||||||
}`}
|
}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user