fix(wireguard): расширить мобильные панели и сохранить видимость кнопок

This commit is contained in:
Denozordec committed 2026-10-08 22:50:50 +07:00
1 parent ae0162db53
commit bf43263e43
16 files changed
+440 -8

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ function WgCreateSheet({
return (
<Sheet open={open} onOpenChange={v => { if (!busy) onOpenChange(v) }}>
<SheetContent showCloseButton={!busy} side="right" className="w-full sm:max-w-md flex flex-col gap-0 p-0">
<SheetContent showCloseButton={!busy} side="right" className="data-[side=right]:w-full data-[side=right]:sm:max-w-md flex flex-col gap-0 p-0">
<SheetHeader className="px-6 pt-6 pb-4 border-b shrink-0">
<SheetTitle>Быстрый туннель WireGuard</SheetTitle>
<SheetDescription>
+1 -1
View File
@@ -88,7 +88,7 @@ function WgImportSheet({
onOpenChange(v)
}}
>
<SheetContent showCloseButton={!busy} side="right" className="w-full sm:max-w-lg flex flex-col gap-0 p-0">
<SheetContent showCloseButton={!busy} side="right" className="data-[side=right]:w-full data-[side=right]:sm:max-w-lg flex flex-col gap-0 p-0">
<SheetHeader className="px-6 pt-6 pb-4 border-b shrink-0">
<SheetTitle>Импорт конфига WireGuard</SheetTitle>
<SheetDescription>
+1 -1
View File
@@ -59,7 +59,7 @@ function WgPeerSheet({
onOpenChange(v)
}}
>
<SheetContent showCloseButton={!busy} side="right" className="w-full sm:max-w-md flex flex-col gap-0 p-0">
<SheetContent showCloseButton={!busy} side="right" className="data-[side=right]:w-full data-[side=right]:sm:max-w-md flex flex-col gap-0 p-0">
<SheetHeader className="px-6 pt-6 pb-4 border-b shrink-0">
<SheetTitle>Добавить пира</SheetTitle>
<SheetDescription>