From: Jo-Philipp Wich Date: Tue, 30 May 2023 07:19:20 +0000 (+0200) Subject: luci-mod-network: fix dropdown clipping on diagnostics page X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c5db28cea8f35d5f6d09719bf0378e72a3143b5e;p=project%2Fluci.git luci-mod-network: fix dropdown clipping on diagnostics page 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 (cherry picked from commit 9b12a48c3f14beafae09eca99cca5e323ae72893) --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js index 8e400fb46b..1bfa95501a 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js @@ -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',