diff --git a/src/index.html b/src/index.html index 6988513..472b9f3 100644 --- a/src/index.html +++ b/src/index.html @@ -7,6 +7,7 @@ Tauri App + @@ -23,7 +24,9 @@
+
+
diff --git a/src/main.js b/src/main.js index eb233f7..22e492c 100644 --- a/src/main.js +++ b/src/main.js @@ -53,3 +53,18 @@ function handleShortcut(event) { } } document.addEventListener("keydown", handleShortcut); + // Random tree +// const N = 300; +// const gData = { +// nodes: [...Array(N).keys()].map(i => ({ id: i })), +// links: [...Array(N).keys()] +// .filter(id => id) +// .map(id => ({ +// source: id, +// target: Math.round(Math.random() * (id-1)) +// })) +// }; +// const Graph = new ForceGraph( +// (document.getElementById('graph')) +// .linkDirectionalParticles(2) +// .graphData(gData); diff --git a/src/styles.css b/src/styles.css index 0b40896..e198ae4 100644 --- a/src/styles.css +++ b/src/styles.css @@ -80,6 +80,7 @@ h1 { line-height: 18px; margin-top: 0.067em; margin-bottom: 0.067em; + color: red; } ol li { @@ -87,6 +88,11 @@ ol li { } ul li { + margin-top: 0; + margin-bottom: 0; + padding: 0; + margin: 0; + padding: 0; margin-left: 1em; } .sidebar_button { @@ -101,7 +107,7 @@ ul li { .topbar_button { height: 2em; background-color: var(--main-bg-color); - /*border: none;*/ + border: none; } .topbar_icon { height: 100%;