luci-mod-network: fix horizontal scrolling in the bridge vlan filter matrix
authorJo-Philipp Wich <jo@mein.io>
Wed, 9 Jun 2021 19:55:14 +0000 (21:55 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 12 Jun 2021 18:01:57 +0000 (20:01 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit ded6e53bcdb9c484f99779fffa20a37bc6d70c3c)

modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js

index d008feb56af75881831d0d84e53a1a5c601fc49b..c822eab19986bae9848c18a2f3b0d1b1d78a4fd9 100644 (file)
@@ -789,9 +789,7 @@ return baseclass.extend({
                o.renderWidget = function(/* ... */) {
                        return form.SectionValue.prototype.renderWidget.apply(this, arguments).then(L.bind(function(node) {
                                node.style.overflowX = 'auto';
-                               node.style.overflowY = 'visible';
-                               node.style.paddingBottom = '100px';
-                               node.style.marginBottom = '-100px';
+                               node.style.overflowY = 'hidden';
 
                                return node;
                        }, this));