summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-02-04 15:28:50 +0100
committerSimon Rettberg2019-02-04 15:28:50 +0100
commitb3a76fc8bc648cc0bd497c2e4aeb1af43a03b8b3 (patch)
treebe83e41f5886e863b2363503df528d381ceae2c2
parentRemove pointless copy (diff)
downloadbwlp-monitoring-b3a76fc8bc648cc0bd497c2e4aeb1af43a03b8b3.tar.gz
bwlp-monitoring-b3a76fc8bc648cc0bd497c2e4aeb1af43a03b8b3.tar.xz
bwlp-monitoring-b3a76fc8bc648cc0bd497c2e4aeb1af43a03b8b3.zip
Fix extremely stretched layout with only few items
-rw-r--r--style.css3
-rw-r--r--template.html4
2 files changed, 3 insertions, 4 deletions
diff --git a/style.css b/style.css
index 836b155..5ebd06e 100644
--- a/style.css
+++ b/style.css
@@ -86,7 +86,7 @@ a:hover {
#body {
display: flex;
flex-direction: column;
- align-items: center;
+ align-items: top;
margin-top: 60px;
padding: 30px;
}
@@ -149,7 +149,6 @@ a:hover {
display: flex;
flex-direction: column;
white-space: nowrap;
- height: 100%;
--wrap: nowrap;
}
diff --git a/template.html b/template.html
index f05c233..3638df5 100644
--- a/template.html
+++ b/template.html
@@ -135,7 +135,7 @@
logWrapper.style.maxWidth = '60vw'
logWrapper.style.maxHeight = 'calc(100vh - 120px)'
content.style.width = '30%'
- content.style.height = 'calc(100vh - 120px)'
+ content.style.height = 'unset'
content.style.minHeight = '51px'
} else if (horizontal === null && (!media.matches || vertical != null)) {
body.style.flexDirection = 'column'
@@ -152,4 +152,4 @@
}
borderless()
}
-</script> \ No newline at end of file
+</script>