diff --git a/src/components/sidebar.tsx b/src/components/sidebar.tsx index 23e43bc..523bff0 100644 --- a/src/components/sidebar.tsx +++ b/src/components/sidebar.tsx @@ -31,13 +31,23 @@ function YDocOptions() { }) } > -
- - +
+
-
- - +
+
@@ -67,37 +77,52 @@ function DisplayOptions() { />
-
- - displayOptionStore.setState({ enableClipboard: e }) - } - /> - +
+
-
- - displayOptionStore.setState({ displayDataTypes: e }) - } - /> - +
+
-
- - displayOptionStore.setState({ displaySize: e }) - } - /> - +
+
); diff --git a/src/components/ui/radio-group.tsx b/src/components/ui/radio-group.tsx index 740177d..880c3f6 100644 --- a/src/components/ui/radio-group.tsx +++ b/src/components/ui/radio-group.tsx @@ -28,6 +28,7 @@ function RadioGroupItem({ data-slot="radio-group-item" className={cn( "border-primary text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", + "cursor-pointer", className, )} {...props} diff --git a/src/components/ui/switch.tsx b/src/components/ui/switch.tsx index 69b38d2..1c621db 100644 --- a/src/components/ui/switch.tsx +++ b/src/components/ui/switch.tsx @@ -14,6 +14,7 @@ function Switch({ data-slot="switch" className={cn( "peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 inline-flex h-5 w-9 shrink-0 items-center rounded-full border-2 border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", + "cursor-pointer", className, )} {...props}