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

Remove titlebar height defaults

This commit is contained in:
Romein van Buren 2023-01-17 09:07:53 +01:00
parent ff2be60066
commit cf04c6b91c
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
2 changed files with 5 additions and 5 deletions

View File

@ -45,9 +45,9 @@
</script>
<div id="app" class="platform-{environment?.platform}">
{#if environment}
<div class="titlebar"></div>
<div class="titlebar"></div>
{#if environment}
<main class:empty={!host || !connection}>
<AddressBar {hosts} bind:activeHostKey on:select={e => openConnection(e.detail)} bind:modalOpen={addressBarModalOpen} />
@ -71,7 +71,7 @@
--wails-draggable: drag;
}
#app.platform-darwin .titlebar {
height: var(--darwin-titlebar-height, 36px);
height: var(--darwin-titlebar-height);
}
main {
@ -82,7 +82,7 @@
padding: 0.5rem;
}
#app.platform-darwin main {
height: calc(100vh - var(--darwin-titlebar-height, 46px));
height: calc(100vh - var(--darwin-titlebar-height));
}
main.empty {
grid-template: 3rem auto / 1fr;

View File

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