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:
parent
ff2be60066
commit
cf04c6b91c
@ -45,9 +45,9 @@
|
||||
</script>
|
||||
|
||||
<div id="app" class="platform-{environment?.platform}">
|
||||
{#if environment}
|
||||
<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;
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user