Disallow label selection
This commit is contained in:
parent
a33c1681bd
commit
5d2136ce5a
@ -30,7 +30,7 @@ const ServerRecommendations = (): ReactElement => (
|
|||||||
{/* Header */}
|
{/* Header */}
|
||||||
<h1
|
<h1
|
||||||
className={cn(
|
className={cn(
|
||||||
"text-xl text-minecraft-green-3",
|
"text-xl text-minecraft-green-3 select-none pointer-events-none",
|
||||||
minecrafter.className
|
minecrafter.className
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
@ -7,7 +7,7 @@ import * as React from "react";
|
|||||||
import { cn } from "@/lib";
|
import { cn } from "@/lib";
|
||||||
|
|
||||||
const labelVariants = cva(
|
const labelVariants = cva(
|
||||||
"text-sm font-medium text-zinc-300 leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
"text-sm font-medium text-zinc-300 leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 select-none"
|
||||||
);
|
);
|
||||||
|
|
||||||
const Label = React.forwardRef<
|
const Label = React.forwardRef<
|
||||||
|
Loading…
x
Reference in New Issue
Block a user