luci-mod-network: small styling fixes for vlan filter matrix
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit cbf2cc396a
)
This commit is contained in:
parent
4dff25448a
commit
1397a1b72e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue