From 4b1a16dd8f9a5ab63889c00aff500b4f2dd5fd64 Mon Sep 17 00:00:00 2001 From: Matthias Konitzny <konitzny@ibr.cs.tu-bs.de> Date: Wed, 2 Mar 2022 18:36:46 +0100 Subject: [PATCH] Fixed a problem with lists without bullet points. --- display/display.css | 7 +++++++ display/overlays/neighbors.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/display/display.css b/display/display.css index 7e1eae3..21d8b9d 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 9a6301a..e9a5ecb 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; -- GitLab