1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2024-12-01 13:20:54 +00:00

Fixed double #app elements

This commit is contained in:
Romein van Buren 2023-01-18 11:26:28 +01:00
parent 72362b2c1f
commit 07a17669c5
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@
<svelte:window on:contextmenu|preventDefault />
<div id="app" class="platform-{environment?.platform}">
<div id="root" class="platform-{environment?.platform}">
<div class="titlebar"></div>
{#if environment}
@ -72,7 +72,7 @@
background-color: #00002a;
--wails-draggable: drag;
}
#app.platform-darwin .titlebar {
#root.platform-darwin .titlebar {
height: var(--darwin-titlebar-height);
}
@ -83,7 +83,7 @@
gap: 0.5rem;
padding: 0.5rem;
}
#app.platform-darwin main {
#root.platform-darwin main {
height: calc(100vh - var(--darwin-titlebar-height));
}
main.empty {

View File

@ -50,7 +50,7 @@
padding-top: 50px;
cursor: pointer;
}
:global(#app.platform-darwin) .outer {
:global(#root.platform-darwin) .outer {
margin-top: var(--darwin-titlebar-height);
}