diff --git a/apps/roam/scripts/compile.ts b/apps/roam/scripts/compile.ts index b639a9df0..6d2ec87d3 100644 --- a/apps/roam/scripts/compile.ts +++ b/apps/roam/scripts/compile.ts @@ -169,8 +169,8 @@ export const compile = ({ "window.__DISCOURSE_GRAPH_VERSION__": `"${getVersion()}"`, "window.__DISCOURSE_GRAPH_BUILD_DATE__": `"${getBuildDate()}"`, }, - sourcemap: process.env.NODE_ENV === "production" ? undefined : "inline", - minify: process.env.NODE_ENV === "production", + sourcemap: "inline", + minify: false, entryNames: out, external: externalModules.map(([e]) => e).concat(["crypto"]), plugins: [ diff --git a/apps/roam/src/components/LeftSidebarView.tsx b/apps/roam/src/components/LeftSidebarView.tsx index 57cc0747d..9dbefe0f8 100644 --- a/apps/roam/src/components/LeftSidebarView.tsx +++ b/apps/roam/src/components/LeftSidebarView.tsx @@ -238,7 +238,7 @@ const PersonalSectionItem = ({ )} - + { {isCollapsable ? ( - + ) : ( @@ -599,11 +599,11 @@ export const mountLeftSidebar = ( } root = document.createElement("div"); root.id = id; - root.className = "starred-pages overflow-scroll"; + root.className = "starred-pages"; root.onmousedown = (e) => e.stopPropagation(); wrapper.appendChild(root); } else { - root.className = "starred-pages overflow-scroll"; + root.className = "starred-pages"; } ReactDOM.render(, root); }; diff --git a/apps/roam/src/index.ts b/apps/roam/src/index.ts index 5c852e57d..4adfa4091 100644 --- a/apps/roam/src/index.ts +++ b/apps/roam/src/index.ts @@ -87,7 +87,7 @@ export default runExtension(async (onloadArgs) => { if (process.env.NODE_ENV === "development") { renderToast({ id: "discourse-graph-loaded", - content: "Successfully loaded", + content: "Successfully loaded-no overflow-scroll on sidebar", intent: "success", timeout: 500, });