mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-20 07:39:56 +00:00
make dialogs draggable, disable selecting text
This commit is contained in:
@@ -16,7 +16,11 @@ type ConfirmDialogProps = {
|
||||
export const ConfirmDialog = forwardRef<HTMLDivElement, ConfirmDialogProps>(
|
||||
function ConfirmDialog({ children }, ref) {
|
||||
return (
|
||||
<div className={"flex flex-col items-center justify-center"}>
|
||||
<div
|
||||
className={
|
||||
"wails-draggable select-none flex flex-col items-center justify-center"
|
||||
}
|
||||
>
|
||||
<div
|
||||
ref={ref}
|
||||
className={"flex flex-col items-center gap-5 p-8 text-center"}
|
||||
|
||||
Reference in New Issue
Block a user