diff options
author | Simon Rettberg | 2019-02-04 15:28:50 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-04 15:28:50 +0100 |
commit | b3a76fc8bc648cc0bd497c2e4aeb1af43a03b8b3 (patch) | |
tree | be83e41f5886e863b2363503df528d381ceae2c2 | |
parent | Remove pointless copy (diff) | |
download | bwlp-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.css | 3 | ||||
-rw-r--r-- | template.html | 4 |
2 files changed, 3 insertions, 4 deletions
@@ -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> |