mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:53:44 +08:00
style: adjust
This commit is contained in:
parent
a553a33c46
commit
6e36910734
@ -138,7 +138,8 @@ pub fn create_window() {
|
|||||||
tauri::WebviewUrl::App("index.html".into()),
|
tauri::WebviewUrl::App("index.html".into()),
|
||||||
)
|
)
|
||||||
.visible(false)
|
.visible(false)
|
||||||
.min_inner_size(600.0, 520.0)
|
.inner_size(890.0, 700.0)
|
||||||
|
.min_inner_size(620.0, 550.0)
|
||||||
.decorations(false)
|
.decorations(false)
|
||||||
.maximizable(true)
|
.maximizable(true)
|
||||||
.additional_browser_args("--enable-features=msWebView2EnableDraggableRegions --disable-features=OverscrollHistoryNavigation,msExperimentalScrolling")
|
.additional_browser_args("--enable-features=msWebView2EnableDraggableRegions --disable-features=OverscrollHistoryNavigation,msExperimentalScrolling")
|
||||||
@ -171,7 +172,7 @@ pub fn create_window() {
|
|||||||
window.clone().on_window_event(move |_event| {
|
window.clone().on_window_event(move |_event| {
|
||||||
let _ = window.set_size(tauri::Size::Physical(tauri::PhysicalSize {
|
let _ = window.set_size(tauri::Size::Physical(tauri::PhysicalSize {
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 636,
|
height: 642,
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -104,14 +104,14 @@ export const BackupViewer = forwardRef<DialogRef>((props, ref) => {
|
|||||||
<BaseDialog
|
<BaseDialog
|
||||||
open={open}
|
open={open}
|
||||||
title={t("Backup Setting")}
|
title={t("Backup Setting")}
|
||||||
contentSx={{ width: 600, maxHeight: 800 }}
|
// contentSx={{ width: 600, maxHeight: 800 }}
|
||||||
okBtn={t("")}
|
okBtn={t("")}
|
||||||
cancelBtn={t("Close")}
|
cancelBtn={t("Close")}
|
||||||
onClose={() => setOpen(false)}
|
onClose={() => setOpen(false)}
|
||||||
onCancel={() => setOpen(false)}
|
onCancel={() => setOpen(false)}
|
||||||
disableOk
|
disableOk
|
||||||
>
|
>
|
||||||
<Box sx={{ maxWidth: 800 }}>
|
<Box>
|
||||||
<BaseLoadingOverlay isLoading={isLoading} />
|
<BaseLoadingOverlay isLoading={isLoading} />
|
||||||
<Paper elevation={2} sx={{ padding: 2 }}>
|
<Paper elevation={2} sx={{ padding: 2 }}>
|
||||||
<BackupConfigViewer
|
<BackupConfigViewer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user