luci-mod-network: fix dropdown clipping on diagnostics page
authorJo-Philipp Wich <jo@mein.io>
Tue, 30 May 2023 07:19:20 +0000 (09:19 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 30 May 2023 07:20:44 +0000 (09:20 +0200)
The default overflow hidden style for table cell elements breaks action
dropdowns on the diagnostics page.

Fixes: #6379
Fixes: 5f2d305476 ("luci-mod-network: convert diagnostic page to LuCI look and feel")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 9b12a48c3f14beafae09eca99cca5e323ae72893)

modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js

index 8e400fb46bd75ec27cf76059e8dee8168621c2cc..1bfa95501a82822f72e787a8ff7faf85ff20682f 100644 (file)
@@ -76,7 +76,7 @@ return view.extend({
 
                var table = E('table', { 'class': 'table' }, [
                                E('tr', { 'class': 'tr' }, [
-                                       E('td', { 'class': 'td left' }, [
+                                       E('td', { 'class': 'td left', 'style': 'overflow:initial' }, [
                                                E('input', {
                                                        'style': 'margin:5px 0',
                                                        'type': 'text',
@@ -99,7 +99,7 @@ return view.extend({
                                                ])
                                        ]),
 
-                                       E('td', { 'class': 'td left' }, [
+                                       E('td', { 'class': 'td left', 'style': 'overflow:initial' }, [
                                                E('input', {
                                                        'style': 'margin:5px 0',
                                                        'type': 'text',