From 3d92ad8eb9cc255f8153d40e5cbc6a0e9f8fc9eb Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 25 Sep 2022 16:01:05 +0200 Subject: Use native inputs in whitespace dropdown (#20980) Use native `` instead of fake icon font. The `pointer-events: none` is necessary so the link click always takes effect. Tested in Firefox, Safari and Chrome. Before: Screen Shot 2022-08-27 at 20 42 11 After: Screen Shot 2022-08-27 at 21 10 05 image --- web_src/less/helpers.less | 3 +++ 1 file changed, 3 insertions(+) (limited to 'web_src') diff --git a/web_src/less/helpers.less b/web_src/less/helpers.less index 5510ee5b23..19477f7ecd 100644 --- a/web_src/less/helpers.less +++ b/web_src/less/helpers.less @@ -19,6 +19,9 @@ .h-100 { height: 100% !important; } .br-0 { border-radius: 0 !important; } +/* below class names match Tailwind CSS */ +.pointer-events-none { pointer-events: none !important; } + .mono { font-family: var(--fonts-monospace) !important; font-size: .9em !important; /* compensate for monospace fonts being usually slightly larger */ -- cgit v1.2.3