Skip to content

Commit 6daa748

Browse files
committed
style(dashboard): stretch the unset-row delete to the select height
The h-input custom class is unlayered and beats layered utilities, so force h-auto with important and let self-stretch plus aspect-square size the button off the select.
1 parent 5e1da10 commit 6daa748

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vite/src/views/products/features/credit-systems/components/CreditRateCardRow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export function CreditRateCardRow({
7575

7676
if (!selectedFeature) {
7777
return (
78-
<div className="flex items-center gap-1">
78+
<div className="flex items-stretch gap-1">
7979
<div className="min-w-0 flex-1">
8080
<FeatureSelectDropdown
8181
value={item.metered_feature_id}
@@ -91,7 +91,7 @@ export function CreditRateCardRow({
9191
type="button"
9292
variant="secondary"
9393
iconOrientation="center"
94-
className="h-input w-7 shrink-0 rounded-lg border-border! shadow-(--input-shadow-default)! text-tertiary-foreground hover:text-red-500"
94+
className="h-auto! w-auto aspect-square self-stretch shrink-0 rounded-lg border-border! shadow-(--input-shadow-default)! text-tertiary-foreground hover:text-red-500"
9595
icon={<TrashIcon size={14} />}
9696
onClick={onRemove}
9797
/>

0 commit comments

Comments
 (0)