feat: add header element

This commit is contained in:
2026-01-21 11:09:51 +01:00
parent 36cf9211d2
commit 4c76c62a3e
3 changed files with 4 additions and 4 deletions

View File

@@ -105,7 +105,7 @@
onwheel={(ev) => mouseEvents.handleMouseScroll(ev)} onwheel={(ev) => mouseEvents.handleMouseScroll(ev)}
bind:this={graphState.wrapper} bind:this={graphState.wrapper}
class="graph-wrapper" class="graph-wrapper"
style="height: 100vh;" style="height: 100%;"
class:is-panning={graphState.isPanning} class:is-panning={graphState.isPanning}
class:is-hovering={graphState.hoveredNodeId !== -1} class:is-hovering={graphState.hoveredNodeId !== -1}
aria-label="Graph" aria-label="Graph"

View File

@@ -95,7 +95,7 @@
<SmallPerformanceViewer {fps} store={perf} /> <SmallPerformanceViewer {fps} store={perf} />
{/if} {/if}
<div style="height: 100vh"> <div style="height: 100%">
<Canvas> <Canvas>
<Scene <Scene
bind:this={sceneComponent} bind:this={sceneComponent}

View File

@@ -172,7 +172,7 @@
<svelte:document onkeydown={applicationKeymap.handleKeyboardEvent} /> <svelte:document onkeydown={applicationKeymap.handleKeyboardEvent} />
<div class="wrapper manager-{manager?.status}"> <div class="wrapper manager-{manager?.status}">
<header></header> <header class="h-[40px] border-b-1 border-[var(--outline)]"></header>
<Grid.Row> <Grid.Row>
<Grid.Cell> <Grid.Cell>
<Viewer <Viewer
@@ -285,7 +285,7 @@
width: 100vw; width: 100vw;
color: white; color: white;
display: grid; display: grid;
grid-template-rows: 0px 1fr; grid-template-rows: 40px 1fr;
} }
.wrapper :global(canvas) { .wrapper :global(canvas) {