Skip to content

Commit ac10825

Browse files
committed
feat: replace background by more subtle border
1 parent db47422 commit ac10825

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h5 class="offcanvas-title" id="filter_pane_label">Highlight simulators</h5>
6969
<!-- details pane -->
7070
<div class="col col-4 d-flex flex-column justify-content-between" style="height: 80vh; overflow: scroll" id="details">
7171
<div id="details_top" style="overflow-y: scroll; max-height: 80vh"></div>
72-
<div id="details_bottom" class="bg-light rounded-2"></div>
72+
<div id="details_bottom" class="border-top border-2"></div>
7373
</div>
7474
</div>
7575
</div>

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function showDetails(data, connected) {
4242
let description = document.createElement("div");
4343
if (data["features"].includes("simulator")) {
4444
const quoted_sim = `[id='${data.id}']`;
45-
description.innerHTML = `<div class='d-flex justify-content-between align-items-center sticky-top bg-light rounded-2' style='background-color: white;'>
45+
description.innerHTML = `<div class='d-flex justify-content-between align-items-center sticky-top border-bottom border-2' style='background-color: white;'>
4646
<h2>${data["full_name"]}</h2>
4747
<div id='center_button'>
4848
<button class='btn btn-outline-primary align-middle m-1 me-2' title='Center ${data["short_name"]} in the graph' onclick="highlightNode(cy.nodes('${quoted_sim.replace(/'/g, "\\'")}'));">
@@ -61,7 +61,7 @@ function showDetails(data, connected) {
6161
</svg>
6262
</div>`;
6363
} else {
64-
description.innerHTML = `<h2 class="sticky-top" style='background-color: white;'>${data["full_name"]}</h2>`;
64+
description.innerHTML = `<h2 class="sticky-top border-bottom border-2" style='background-color: white;'>${data["full_name"]}</h2>`;
6565
}
6666
description.innerHTML += "<p>" + data["description"] + "</p>";
6767
// Relations

0 commit comments

Comments
 (0)