diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-06-13 21:47:40 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-06-13 21:48:11 +0200 |
commit | cbf2cc396a29d6794a4d883d80f8390e227e072b (patch) | |
tree | 56b567e070eb411f9a8c459174802188aa68ade3 /modules/luci-mod-network/htdocs/luci-static/resources | |
parent | e266c749034310b26410cf820e95691654e18174 (diff) |
luci-mod-network: small styling fixes for vlan filter matrix
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js b/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js index 8ba259e2c9..2ebf3afe02 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js @@ -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); |