Skip to content

Commit e6f10f9

Browse files
committed
[BLD-80] Dashboard: in-app wallet settings page UI improvements
1 parent 827819b commit e6f10f9

File tree

5 files changed

+299
-198
lines changed

5 files changed

+299
-198
lines changed

apps/dashboard/src/@/components/ui/DynamicHeight.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ export function DynamicHeight(props: {
1717
boxSizing: "border-box",
1818
height: height ? `${height}px` : "auto",
1919
overflow: "hidden",
20-
transition:
21-
props.transition ||
22-
"height 210ms cubic-bezier(0.175, 0.885, 0.32, 1.1)",
20+
transition: props.transition || "height 250ms ease",
2321
}}
2422
>
2523
<div

apps/dashboard/src/@/components/ui/checkbox.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client";
22

33
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
4-
import { CheckIcon } from "lucide-react";
4+
import { CheckIcon, MinusIcon } from "lucide-react";
55
import * as React from "react";
66

77
import { cn } from "@/lib/utils";
@@ -21,7 +21,11 @@ const Checkbox = React.forwardRef<
2121
<CheckboxPrimitive.Indicator
2222
className={cn("flex items-center justify-center text-current")}
2323
>
24-
<CheckIcon className="size-4" />
24+
{props.checked === "indeterminate" ? (
25+
<MinusIcon className="size-3" />
26+
) : (
27+
<CheckIcon className="size-4" />
28+
)}
2529
</CheckboxPrimitive.Indicator>
2630
</CheckboxPrimitive.Root>
2731
));

0 commit comments

Comments
 (0)