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>
|
</script>
|
||||||
|
|
||||||
<div id="app" class="platform-{environment?.platform}">
|
<div id="app" class="platform-{environment?.platform}">
|
||||||
{#if environment}
|
<div class="titlebar"></div>
|
||||||
<div class="titlebar"></div>
|
|
||||||
|
|
||||||
|
{#if environment}
|
||||||
<main class:empty={!host || !connection}>
|
<main class:empty={!host || !connection}>
|
||||||
<AddressBar {hosts} bind:activeHostKey on:select={e => openConnection(e.detail)} bind:modalOpen={addressBarModalOpen} />
|
<AddressBar {hosts} bind:activeHostKey on:select={e => openConnection(e.detail)} bind:modalOpen={addressBarModalOpen} />
|
||||||
|
|
||||||
@ -71,7 +71,7 @@
|
|||||||
--wails-draggable: drag;
|
--wails-draggable: drag;
|
||||||
}
|
}
|
||||||
#app.platform-darwin .titlebar {
|
#app.platform-darwin .titlebar {
|
||||||
height: var(--darwin-titlebar-height, 36px);
|
height: var(--darwin-titlebar-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
@ -82,7 +82,7 @@
|
|||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
}
|
}
|
||||||
#app.platform-darwin main {
|
#app.platform-darwin main {
|
||||||
height: calc(100vh - var(--darwin-titlebar-height, 46px));
|
height: calc(100vh - var(--darwin-titlebar-height));
|
||||||
}
|
}
|
||||||
main.empty {
|
main.empty {
|
||||||
grid-template: 3rem auto / 1fr;
|
grid-template: 3rem auto / 1fr;
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
:global(#app.platform-darwin) .outer {
|
:global(#app.platform-darwin) .outer {
|
||||||
margin-top: var(--darwin-titlebar-height, 46px);
|
margin-top: var(--darwin-titlebar-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
.inner {
|
.inner {
|
||||||
|
Loading…
Reference in New Issue
Block a user