luci-mod-network: small styling fixes for vlan filter matrix
[project/luci.git] / modules / luci-mod-network / htdocs / luci-static / resources / tools / network.js
index 8ba259e2c949eb7f8e4a1f134cd19e96796d9933..2ebf3afe029a4328e4a8a883a75db5b7eda42087 100644 (file)
@@ -834,6 +834,7 @@ return baseclass.extend({
                        var node = form.TableSection.prototype.renderHeaderRows.apply(this, arguments);
 
                        node.querySelectorAll('.th').forEach(function(th) {
+                               th.classList.add('left');
                                th.classList.add('middle');
                        });
 
@@ -848,6 +849,7 @@ return baseclass.extend({
                ss.render = function(/* ... */) {
                        return form.TableSection.prototype.render.apply(this, arguments).then(L.bind(function(node) {
                                node.style.overflow = 'auto hidden';
+                               node.style.paddingTop = '1em';
 
                                if (this.node)
                                        this.node.parentNode.replaceChild(node, this.node);