summaryrefslogtreecommitdiff
path: root/web/src/index.css
diff options
context:
space:
mode:
authorIan Wienand <iwienand@redhat.com>2020-07-24 09:11:42 +1000
committerIan Wienand <iwienand@redhat.com>2020-07-24 11:09:54 +1000
commit8d0f440e1bc85b55a2d780769d8ee1df4ae6ce7e (patch)
tree63e426631dfc71697210b0baa55172a620c09583 /web/src/index.css
parent425172cf3909b23b7a5765a31bfca533494d182b (diff)
downloadzuul-8d0f440e1bc85b55a2d780769d8ee1df4ae6ce7e.tar.gz
web: restore scrollbars and scroll behaviour
Currently pageup/pagedown, etc. keys don't do anything. I tried a couple of things; including putting refs on various things and trying to give them focus on componentDidMount(), but the scroll keys didn't seem to make it in. This I just found from fiddling around with the inspector. Resetting these overflow values gives me a standard "whole-page" scroll bar on the left hand side, and all the expected keyboard nagivation keys work. Honestly, this is maybe more for discussion with someone who understands patternfly page/panels etc. a bit more; but empirically it seems to work. Change-Id: Ib723b125e39f707972a15891ec411f322c335993
Diffstat (limited to 'web/src/index.css')
-rw-r--r--web/src/index.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/src/index.css b/web/src/index.css
index 61a1c22fa..968e39446 100644
--- a/web/src/index.css
+++ b/web/src/index.css
@@ -370,3 +370,9 @@ details.foldable[open] summary::before {
);
}
}
+
+/* This restores correct scroll bar and scrolling behaviour */
+.pf-c-page__main {
+ overflow-x: visible;
+ overflow-y: visible;
+}