aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-16 03:51:41 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-16 03:51:41 +0200
commitc28f2dff2290bd33f9504b90fbca8cab5de747a6 (patch)
tree62747e83365384354158f246b00b819cc836f211
parentFix comments being constantly added to po files. (diff)
downloadcalp-c28f2dff2290bd33f9504b90fbca8cab5de747a6.tar.gz
calp-c28f2dff2290bd33f9504b90fbca8cab5de747a6.tar.xz
Move CSS background-color to body element.
This ensures it applies to the entire page. Previously the parts of .root which overflowed lacked the background.
-rw-r--r--static/style.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/static/style.scss b/static/style.scss
index 6b06d5d2..6c23ebc6 100644
--- a/static/style.scss
+++ b/static/style.scss
@@ -5,14 +5,16 @@ html, body {
margin: 0;
}
+body {
+ background-color: var(--background-color);
+}
+
.root {
display: grid;
margin: 0;
max-width: 100%;
height: 100%;
- background-color: var(--background-color);
-
grid-template-columns: auto auto 20em;
grid-template-rows: auto;