Skip to content
Snippets Groups Projects
Unverified Commit 23b728a7 authored by GyDi's avatar GyDi
Browse files

feat: adjust macOS window style

parent 819c5207
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,12 @@ pub fn create_window(app_handle: &AppHandle) { ...@@ -94,7 +94,12 @@ pub fn create_window(app_handle: &AppHandle) {
} }
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
crate::log_err!(builder.decorations(true).inner_size(800.0, 642.0).build()); crate::log_err!(builder
.decorations(true)
.inner_size(800.0, 642.0)
.hidden_title(true)
.title_bar_style(tauri::TitleBarStyle::Overlay)
.build());
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
crate::log_err!(builder crate::log_err!(builder
......
...@@ -104,3 +104,14 @@ ...@@ -104,3 +104,14 @@
} }
} }
} }
.macos {
&.layout {
.layout__left {
padding-top: 24px;
}
.layout__right .the-content {
top: 20px;
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment