luci-mod-network: small styling fixes for vlan filter matrix
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
e266c74903
commit
cbf2cc396a
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);
|
var node = form.TableSection.prototype.renderHeaderRows.apply(this, arguments);
|
||||||
|
|
||||||
node.querySelectorAll('.th').forEach(function(th) {
|
node.querySelectorAll('.th').forEach(function(th) {
|
||||||
|
th.classList.add('left');
|
||||||
th.classList.add('middle');
|
th.classList.add('middle');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -848,6 +849,7 @@ return baseclass.extend({
|
||||||
ss.render = function(/* ... */) {
|
ss.render = function(/* ... */) {
|
||||||
return form.TableSection.prototype.render.apply(this, arguments).then(L.bind(function(node) {
|
return form.TableSection.prototype.render.apply(this, arguments).then(L.bind(function(node) {
|
||||||
node.style.overflow = 'auto hidden';
|
node.style.overflow = 'auto hidden';
|
||||||
|
node.style.paddingTop = '1em';
|
||||||
|
|
||||||
if (this.node)
|
if (this.node)
|
||||||
this.node.parentNode.replaceChild(node, this.node);
|
this.node.parentNode.replaceChild(node, this.node);
|
||||||
|
|
Loading…
Reference in a new issue