Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
refactor(layout/right_pane): CSS for container
Elian Doranf46de50f17ef
diff --git a/apps/client/src/widgets/sidebar/RightPanelContainer.css b/apps/client/src/widgets/sidebar/RightPanelContainer.cssnew file mode 100644index 0000000000..65cff510e6--- /dev/null+++ b/apps/client/src/widgets/sidebar/RightPanelContainer.css@@ -0,0 +1,3 @@+body.experimental-feature-new-layout #right-pane {+ width: 300px;+}diff --git a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx b/apps/client/src/widgets/sidebar/RightPanelContainer.tsxindex fc379c5a9a..b00386a101 100644--- a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx+++ b/apps/client/src/widgets/sidebar/RightPanelContainer.tsx@@ -1,8 +1,9 @@//! This is currently only used for the new layout.+import "./RightPanelContainer.css";export default function RightPanelContainer() {return (- <div id="right-pane" style={{ width: 300 }}>+ <div id="right-pane">Hi there.</div>);