Skip to content

Commit 63a8f57

Browse files
committed
fix: remove unnecessary rounded-md class from DialogContent and buttons in DiscountModal
1 parent adaf3f5 commit 63a8f57

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

components/discount-modal.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export function DiscountModal({
129129
return (
130130
<Dialog open={isOpen} onOpenChange={setIsOpen}>
131131
{trigger && <DialogTrigger asChild>{trigger}</DialogTrigger>}
132-
<DialogContent className="sm:max-w-xl w-full p-0 gap-0 rounded-3xl shadow-xl overflow-hidden bg-card">
132+
<DialogContent className="sm:max-w-xl w-full p-0 gap-0 overflow-hidden bg-card">
133133
<DialogHeader className="px-7 pt-4 pb-3.5 gap-0.5 pr-14">
134134
<DialogTitle className="text-lg font-extrabold text-foreground leading-normal truncate">
135135
Discounts for {userName}
@@ -254,7 +254,7 @@ export function DiscountModal({
254254
variant="ghost"
255255
disabled={submitting}
256256
onClick={() => handleTypeChange("percent")}
257-
className={`flex-1 h-auto px-4 py-1.5 rounded-md text-xs transition-all ${discountType === "percent"
257+
className={`flex-1 h-auto px-4 py-1.5 text-xs transition-all ${discountType === "percent"
258258
? "bg-card shadow-sm text-accent-foreground font-bold hover:bg-card hover:text-accent-foreground"
259259
: "text-muted-foreground font-normal hover:bg-transparent hover:text-muted-foreground"
260260
}`}
@@ -266,7 +266,7 @@ export function DiscountModal({
266266
variant="ghost"
267267
disabled={submitting}
268268
onClick={() => handleTypeChange("amount")}
269-
className={`flex-1 h-auto px-4 py-1.5 rounded-md text-xs transition-all ${discountType === "amount"
269+
className={`flex-1 h-auto px-4 py-1.5 text-xs transition-all ${discountType === "amount"
270270
? "bg-card shadow-sm text-accent-foreground font-bold hover:bg-card hover:text-accent-foreground"
271271
: "text-muted-foreground font-normal hover:bg-transparent hover:text-muted-foreground"
272272
}`}

0 commit comments

Comments
 (0)