diff --git a/README.md b/README.md index 03f39a7..5b26fd8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Silver Bullet -Silver Bullet (SB) is an extensible, open source **personal knowledge playground**. At its core it’s a clean markdown-based writing/note taking application that stores your _pages_ (notes) as plain markdown files in a folder referred to as a _space_. Pages can be cross-linked using the `[[link to other page]]` syntax. This makes it a simple tool for [Personal Knowledge Management](https://en.wikipedia.org/wiki/Personal_knowledge_management). However, once you leverage its various extensions (called _plugs_) it can feel more like a _knowledge playground_, allowing you to annotate, combine and query your accumulated knowledge in creative ways specific to you. +Silver Bullet (SB) is an extensible, open source **personal knowledge platform**. At its core it’s a clean markdown-based writing/note taking application that stores your _pages_ (notes) as plain markdown files in a folder referred to as a _space_. Pages can be cross-linked using the `[[link to other page]]` syntax. This makes it a simple tool for [Personal Knowledge Management](https://en.wikipedia.org/wiki/Personal_knowledge_management). However, once you leverage its various extensions (called _plugs_) it can feel more like a _knowledge platform_, allowing you to annotate, combine and query your accumulated knowledge in creative ways specific to you. For more in-depth information, an interactive demo, and links to more background, check out the [Silver Bullet website](https://silverbullet.md) (published from this repo’s `website/` folder). diff --git a/packages/plugos/environments/node_sandbox.ts b/packages/plugos/environments/node_sandbox.ts index e71cceb..fe5f2bf 100644 --- a/packages/plugos/environments/node_sandbox.ts +++ b/packages/plugos/environments/node_sandbox.ts @@ -37,7 +37,11 @@ class NodeWorkerWrapper implements WorkerLike { // Look for the node_modules directory, to be passed to the worker to find e.g. the vm2 module export let nodeModulesDir = __dirname; -while (!fs.existsSync(nodeModulesDir + "/node_modules/vm2")) { + +while ( + !fs.existsSync(nodeModulesDir + "/node_modules/vm2") && + nodeModulesDir !== "/" +) { nodeModulesDir = path.dirname(nodeModulesDir); } diff --git a/packages/web/styles/filter_box.scss b/packages/web/styles/filter_box.scss index 250da4e..afd30c9 100644 --- a/packages/web/styles/filter_box.scss +++ b/packages/web/styles/filter_box.scss @@ -12,7 +12,7 @@ top: 0; bottom: 0; max-height: 290px; - overflow: auto; + overflow: hide; z-index: 100; border: rgb(103, 103, 103) 1px solid; border-radius: 8px;