Skip to content

Commit

Permalink
CSS tweak to content container (#66)
Browse files Browse the repository at this point in the history
Prevents unneeded scrollbars, cleans up presentation a bit.
  • Loading branch information
tcoz authored Feb 6, 2024
1 parent ebeb194 commit 5e79c02
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion app/css/app.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

html, body {
height: 100%;
margin: 0px;
}

.hidden {
Expand All @@ -10,7 +11,7 @@ html, body {
#container {
display: flex;
width: 100%;
height: 100%;
height: 100%;
}

#modeler {
Expand All @@ -26,6 +27,19 @@ html, body {
min-width: 400px;
}

/**
Remove the height of the header from the main content area,
(prevents vertical scroll bars you don't need),
adjust CSS props so that padding won't add to dimensions.
*/
#container:has(#modeler) {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
height: calc(100% - 65px);
padding: 8px;
}

.djs-label {
font-family: 'Arial', sans-serif;
}
Expand Down

0 comments on commit 5e79c02

Please sign in to comment.