Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set height of app element
Browse files Browse the repository at this point in the history
This is meant to fix #277. #275 moved the app element inside a root element so that it could be referenced more easily in the App component, but that meant its height was no longer determined by the outermost grid.
mdaines committed Nov 7, 2024
1 parent 5e6850b commit 8eaada2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/website/src/styles/app.css
Original file line number Diff line number Diff line change
@@ -18,13 +18,13 @@ body {
}

#root {
display: grid;
grid-area: app;
}

#app {
--editor-width: 50%;

height: 100%;
display: grid;
grid-template-areas: "editor-toolbar resize output-toolbar" "editor resize output" "editor resize errors";
grid-template-columns: minmax(300px, var(--editor-width)) 1px minmax(450px, 1fr);

0 comments on commit 8eaada2

Please sign in to comment.