aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Forsman2020-09-25 20:08:12 +0200
committerAxel Forsman2020-09-25 20:23:14 +0200
commit0fdc12c1b5c56f1093cce4f59227deb037f55024 (patch)
tree69878b99ff7b8e287ccba3b8df15eca90b1d6058
parentd81d4e9186fca436a2a55a4ee366b2de7fdd02f1 (diff)
downloadvim-helptag-versions-master.tar.bz2
Fix auto scrollbar displacing contentHEADmaster
After the table of results is populated from first starting to type in the search field it likely no longer fits vertically on the page. This caused the browser to provide a scrollbar that would offset the content. Fixed by using `overflow-y: scroll` to prevent the scrollbar from appearing and disappearing when the content changes. Instead the scrollbar is always displayed.
-rw-r--r--dist/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/dist/index.html b/dist/index.html
index 1d8d93c..aef46fc 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -8,6 +8,7 @@ body {
padding: 0 5% 5%;
margin: 0 auto;
font: large "Open Sans", Helvetica, Arial, sans-serif;
+ overflow-y: scroll;
}
header {