From a68006245df16599145c00b949d2c8c97a327295 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 19 Jul 2018 16:50:50 +0200 Subject: [PATCH] luci-theme-bootstrap: allow pointer events on readonly textareas and dropdowns This is required to scroll and select text. Fixes #1965 Fixes 887d0a685 ("luci-theme-bootstrap: cleanup CSS") Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/bootstrap/cascade.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index d0348a197..a6ff0dc73 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -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; -- 2.25.1