mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-03 20:19:07 +02:00
remove unused lang icons, disable text selection
This commit is contained in:
@@ -322,7 +322,7 @@ export const ConnectionStatusSwitch = () => {
|
||||
<div className={"flex flex-col items-center"}>
|
||||
<h1
|
||||
className={
|
||||
"text-sm font-medium text-nb-gray-200 tracking-wide transition-colors duration-300 wails-no-draggable"
|
||||
"text-sm font-medium text-nb-gray-200 tracking-wide transition-colors duration-300 select-none wails-no-draggable"
|
||||
}
|
||||
>
|
||||
{t(STATUS_KEY[connState])}
|
||||
|
||||
@@ -74,19 +74,20 @@ export const Header = () => {
|
||||
<div className={"flex justify-center ml-4"}>
|
||||
<ProfileDropdown onManageProfiles={openManageProfiles} />
|
||||
</div>
|
||||
<div className={"flex justify-end wails-no-draggable"}>
|
||||
<div className={"flex justify-end"}>
|
||||
<div className={"relative"}>
|
||||
<DropdownMenu modal={false} open={menuOpen} onOpenChange={setMenuOpen}>
|
||||
<DropdownMenuTrigger asChild className={"wails-no-draggable"}>
|
||||
<IconButton
|
||||
icon={MoreVertical}
|
||||
iconClassName={"text-nb-gray-200 wails-no-draggable"}
|
||||
className={"select-none"}
|
||||
/>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent
|
||||
align="end"
|
||||
sideOffset={8}
|
||||
className="min-w-52 data-[state=closed]:!animate-none data-[state=closed]:!duration-0"
|
||||
className="min-w-52 select-none data-[state=closed]:!animate-none data-[state=closed]:!duration-0"
|
||||
>
|
||||
{updateAvailable && (
|
||||
<>
|
||||
|
||||
@@ -17,7 +17,7 @@ import { ProfileProvider } from "@/modules/profile/ProfileContext.tsx";
|
||||
// dragging it.
|
||||
export const SettingsLayout = () => {
|
||||
return (
|
||||
<div className={"relative flex h-full flex-col"}>
|
||||
<div className={"relative flex h-full flex-col select-none"}>
|
||||
<StatusProvider>
|
||||
<ProfileProvider>
|
||||
<DebugBundleProvider>
|
||||
|
||||
Reference in New Issue
Block a user