mirror of
https://github.com/lumehq/lume.git
synced 2025-07-09 05:31:07 +02:00
fix: adjust window controls position
This commit is contained in:
@ -132,7 +132,7 @@ pub fn reload_column(label: String, app_handle: tauri::AppHandle) -> Result<(),
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tauri::command]
|
#[tauri::command(async)]
|
||||||
#[specta::specta]
|
#[specta::specta]
|
||||||
pub fn open_window(window: Window, app_handle: tauri::AppHandle) -> Result<(), String> {
|
pub fn open_window(window: Window, app_handle: tauri::AppHandle) -> Result<(), String> {
|
||||||
if let Some(window) = app_handle.get_window(&window.label) {
|
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)
|
.minimizable(window.minimizable)
|
||||||
.maximizable(window.maximizable)
|
.maximizable(window.maximizable)
|
||||||
.transparent(true)
|
.transparent(true)
|
||||||
|
.decoration(false)
|
||||||
.effects(WindowEffectsConfig {
|
.effects(WindowEffectsConfig {
|
||||||
state: None,
|
state: None,
|
||||||
effects: vec![Effect::Mica],
|
effects: vec![Effect::Mica],
|
||||||
|
@ -50,7 +50,11 @@ input::-ms-clear {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div[data-tauri-decorum-tb] {
|
div[data-tauri-decorum-tb] {
|
||||||
@apply h-11;
|
@apply h-11 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.decorum-tb-btn {
|
||||||
|
@apply h-11 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.spinner-leaf {
|
.spinner-leaf {
|
||||||
|
@ -37,7 +37,7 @@ function Screen() {
|
|||||||
data-tauri-drag-region
|
data-tauri-drag-region
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex h-11 shrink-0 items-center justify-between",
|
"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
|
<div
|
||||||
|
Reference in New Issue
Block a user