summaryrefslogtreecommitdiff
path: root/ext/mixed/css/display.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-14 18:12:06 -0500
committerGitHub <noreply@github.com>2020-11-14 18:12:06 -0500
commit4b1c7b1e269b98eaf4906c82cb3fd09566dce7be (patch)
tree4348e17baf5601930971e95f55edcc7708526598 /ext/mixed/css/display.css
parent34c6d4210a3e638482c13d0f0129489e254900de (diff)
Display layout updates (#1032)
* Fix display scroll not always using the right position * Update display layout and scroll method * Fix border size
Diffstat (limited to 'ext/mixed/css/display.css')
-rw-r--r--ext/mixed/css/display.css22
1 files changed, 21 insertions, 1 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index f08125f5..f6317d54 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -115,12 +115,14 @@
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: var(--font-size);
line-height: var(--line-height);
+ height: 100%;
}
body {
margin: 0;
border: 0;
padding: 0;
- overflow-y: scroll; /* always show scroll bar */
+ height: 100%;
+ overflow: hidden;
background-color: var(--background-color);
color: var(--default-text-color);
font-size: inherit;
@@ -152,6 +154,24 @@ a {
}
+/* Main layout */
+.content {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ flex-flow: row nowrap;
+ overflow-x: hidden;
+ overflow-y: scroll;
+ position: relative;
+ align-items: stretch;
+ justify-content: center;
+}
+.content-body {
+ flex: 1 1 auto;
+ height: 100%;
+}
+
+
/* Navigation */
.navigation-header {
top: 0;