luci-theme-bootstrap: allow pointer events on readonly textareas and dropdowns
authorJo-Philipp Wich <jo@mein.io>
Thu, 19 Jul 2018 14:50:50 +0000 (16:50 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 20 Jul 2018 06:01:04 +0000 (08:01 +0200)
This is required to scroll and select text.

Fixes #1965
Fixes 887d0a685 ("luci-theme-bootstrap: cleanup CSS")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a68006245df16599145c00b949d2c8c97a327295)

themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index d0348a197ec2600bc48e6865ece43931b5840b5f..a6ff0dc7334b30a043c7422cc7246f2ec14e4177 100644 (file)
@@ -598,6 +598,12 @@ textarea[readonly] {
        cursor: default;
 }
 
+select[readonly],
+textarea[readonly] {
+       pointer-events: auto;
+       cursor: auto;
+}
+
 .cbi-optionals,
 .cbi-section-create {
        padding: 0 0 10px 10px;