fix: enforce flex layout for topology device spacing
This commit is contained in:
@@ -208,7 +208,10 @@
|
||||
column.appendChild(heading);
|
||||
const nodeContainer = document.createElement('div');
|
||||
nodeContainer.className = 'rack-topology-device-list';
|
||||
nodeContainer.style.display = 'flex';
|
||||
nodeContainer.style.flexDirection = 'column';
|
||||
nodeContainer.style.gap = '40px';
|
||||
nodeContainer.style.rowGap = '40px';
|
||||
column.appendChild(nodeContainer);
|
||||
group.nodes.sort((a, b) => (b.position || 0) - (a.position || 0)).forEach(node => {
|
||||
const item = document.createElement(node.url ? 'a' : 'div');
|
||||
|
||||
Reference in New Issue
Block a user