Disallow label selection

This commit is contained in:
Braydon 2024-04-22 00:49:20 -04:00
parent a33c1681bd
commit 5d2136ce5a
2 changed files with 2 additions and 2 deletions

@ -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<