diff --git a/display/display.css b/display/display.css index 7e1eae38843d642d5261a642bca89739adf33b91..21d8b9d8116e40a67ede43efe5c5e2c0ba022ff9 100644 --- a/display/display.css +++ b/display/display.css @@ -254,6 +254,12 @@ overflow: hidden; } +.neighbor-content-list { + margin: 0; + padding: 0 0 0 20px; +} + + .neighbor-content-link { cursor: pointer; margin: 1px; @@ -296,3 +302,4 @@ height:0; overflow:hidden; } + diff --git a/display/overlays/neighbors.js b/display/overlays/neighbors.js index 9a6301a6bfac69d2f300702870a55882ce53cc60..e9a5ecbb269389e92ec1c6945fcdb90d9a483dfd 100644 --- a/display/overlays/neighbors.js +++ b/display/overlays/neighbors.js @@ -99,7 +99,7 @@ class NodeNeighborOverlay { collTabContent.type = name; const list = createHTMLElement("ul", collTabContent); - list.style.margin = "0px"; + list.classList.add("neighbor-content-list"); collTabContent.list = list; collTabContent.marker = openMarkerTabs;