tauri: add basic custom titlebar (#5438)
This commit is contained in:
parent
feb8c4f3c6
commit
59d4041aa4
11 changed files with 107 additions and 9 deletions
|
|
@ -426,7 +426,7 @@ export default function Layout(props: ParentProps) {
|
|||
}
|
||||
|
||||
return (
|
||||
<div class="relative h-screen flex flex-col">
|
||||
<div class="relative flex-1 flex flex-col">
|
||||
<header class="h-12 shrink-0 bg-background-base border-b border-border-weak-base flex" data-tauri-drag-region>
|
||||
<A
|
||||
href="/"
|
||||
|
|
@ -512,7 +512,7 @@ export default function Layout(props: ParentProps) {
|
|||
</Show>
|
||||
</div>
|
||||
</header>
|
||||
<div class="h-[calc(100vh-3rem)] flex">
|
||||
<div class="h-[calc(100%-3rem)] flex">
|
||||
<div
|
||||
classList={{
|
||||
"relative @container w-12 pb-5 shrink-0 bg-background-base": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue