[TASK] Split into rows - long gateway names

This commit is contained in:
Xaver Maierhofer 2017-12-29 23:32:42 +01:00 committed by Geno
parent b1a5e472e4
commit 5702b5f21b
2 changed files with 8 additions and 4 deletions

View File

@ -46,13 +46,16 @@ define(['sorttable', 'snabbdom', 'd3-interpolate', 'moment', 'helper', 'utils/no
nodeIdLink(node.gateway),
V.h('br'),
'IPv4'
]),
V.h('span', [
])
];
if (node.gateway6 !== undefined) {
gatewayRows.push(V.h('span', [
nodeIdLink(node.gateway6),
V.h('br'),
'IPv6'
])
];
]));
}
return V.h('td', { props: { className: 'gateway' } }, gatewayCols);
}

View File

@ -2,6 +2,7 @@
.clients,
.gateway {
display: flex;
flex-flow: wrap;
span {
flex-grow: 1;