diff options
| author | Martin Ridgers <[email protected]> | 2024-09-19 08:38:19 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2024-09-24 10:57:34 +0200 |
| commit | 03d0ce885aa65635f80b474ea58608e89876c270 (patch) | |
| tree | 38464479092dcc4224b03b9c95595069aef8ab85 /src | |
| parent | clang-format pass (diff) | |
| download | zen-03d0ce885aa65635f80b474ea58608e89876c270.tar.xz zen-03d0ce885aa65635f80b474ea58608e89876c270.zip | |
Min/max width for dashboard content
Diffstat (limited to 'src')
| -rw-r--r-- | src/zenserver/frontend/html/zen.css | 6 | ||||
| -rw-r--r-- | src/zenserver/frontend/html/zen.js | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/zenserver/frontend/html/zen.css b/src/zenserver/frontend/html/zen.css index e764d02ce..09d506ee0 100644 --- a/src/zenserver/frontend/html/zen.css +++ b/src/zenserver/frontend/html/zen.css @@ -15,6 +15,12 @@ body { } #container { + max-width: 130em; + min-width: 80em; + margin: auto; +} + +#container > div { margin: 1.0em 2.2em 1.5em 2.2em; } diff --git a/src/zenserver/frontend/html/zen.js b/src/zenserver/frontend/html/zen.js index a338739be..7adbe12d5 100644 --- a/src/zenserver/frontend/html/zen.js +++ b/src/zenserver/frontend/html/zen.js @@ -548,7 +548,7 @@ function add_branding(parent) //////////////////////////////////////////////////////////////////////////////// async function main_guarded() { - const root = new Component(document.body).tag().id("container"); + const root = new Component(document.body).tag().id("container").tag(); add_branding(root); |