diff options
author | mpratt14 <mpratt51@gmail.com> | 2019-09-21 18:38:30 -0400 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-24 08:15:08 +0200 |
commit | 24fbd754aa9cc470679253dd7cadb5249492022e (patch) | |
tree | dd12b1e4d0e693a1287530f2aa96305bff5fafd2 | |
parent | dfe41b3b88972b9ff77c499b2b9ee4a2cf4da28d (diff) |
luci-theme-openwrt: fix scrolling issue in syslog
Depending on the browser, it is sometimes difficult to scroll if moused
over or after clicking or highlighting text. I often have to click outside
the text to be able to scroll again. The browser perceives that there is
scrolling space/content within the <textarea> element because it is
almost, but not exactly, the same size as its parent <div> element,
when in reality, there is no more text content. This causes scrolling
within the element with a range of just a few pixels, and the rest of
the page remains static.
This is easily solved by adding the "overflow-y" property with value
"hidden". Tested by myself on Chrome 64-bit Windows 10
Signed-off-by: Michael Pratt <mpratt51@gmail.com>
[rewrap commit message, fix Sob syntax]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css index cbe0e1150..4bdf055de 100644 --- a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -430,6 +430,7 @@ textarea#syslog { border: 3px solid #cccccc; padding: 5px; font-family: monospace; + overflow-y: hidden; } #maincontainer { |