fix(menus): prevent menu label text from being selectable

This commit is contained in:
2026-07-04 18:30:25 +01:00
parent 58ecb03070
commit 1074c875a3
+6 -1
View File
@@ -128,7 +128,12 @@ export function MenuSeparator() {
export function MenuLabel({ children }: { children: ReactNode }) { export function MenuLabel({ children }: { children: ReactNode }) {
return ( return (
<div className="px-3 py-1 text-[10px] uppercase tracking-[0.18em] text-gray-600">{children}</div> <div className="px-3 py-1 text-[10px] uppercase tracking-[0.18em] text-gray-600"
style={{
userSelect: 'none',
WebkitUserSelect: 'none',
}}
>{children}</div>
); );
} }