mirror of
https://github.com/lumehq/lume.git
synced 2025-03-17 21:32:32 +01:00
fix: adjust window controls position
This commit is contained in:
parent
307fff7a53
commit
bcc5e18082
@ -132,7 +132,7 @@ pub fn reload_column(label: String, app_handle: tauri::AppHandle) -> Result<(),
|
||||
}
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
#[tauri::command(async)]
|
||||
#[specta::specta]
|
||||
pub fn open_window(window: Window, app_handle: tauri::AppHandle) -> Result<(), String> {
|
||||
if let Some(window) = app_handle.get_window(&window.label) {
|
||||
@ -178,6 +178,7 @@ pub fn open_window(window: Window, app_handle: tauri::AppHandle) -> Result<(), S
|
||||
.minimizable(window.minimizable)
|
||||
.maximizable(window.maximizable)
|
||||
.transparent(true)
|
||||
.decoration(false)
|
||||
.effects(WindowEffectsConfig {
|
||||
state: None,
|
||||
effects: vec![Effect::Mica],
|
||||
|
@ -50,7 +50,11 @@ input::-ms-clear {
|
||||
}
|
||||
|
||||
div[data-tauri-decorum-tb] {
|
||||
@apply h-11;
|
||||
@apply h-11 !important;
|
||||
}
|
||||
|
||||
button.decorum-tb-btn {
|
||||
@apply h-11 !important;
|
||||
}
|
||||
|
||||
.spinner-leaf {
|
||||
|
@ -37,7 +37,7 @@ function Screen() {
|
||||
data-tauri-drag-region
|
||||
className={cn(
|
||||
"flex h-11 shrink-0 items-center justify-between",
|
||||
platform === "macos" ? "pl-[72px] pr-3" : "pr-[128px] pl-3",
|
||||
platform === "macos" ? "pl-[72px] pr-3" : "pr-[156px] pl-3",
|
||||
)}
|
||||
>
|
||||
<div
|
||||
|
Loading…
x
Reference in New Issue
Block a user