Skip to content

Build your personal knowledge base with Trilium Notes

style/right pane toggle handle: restyle

Adorian Doran977d3c89be71
diff --git a/apps/client/src/widgets/sidebar/RightPaneToggleHandle.css b/apps/client/src/widgets/sidebar/RightPaneToggleHandle.css
index ba435562ef..5b877b97e6 100644
--- a/apps/client/src/widgets/sidebar/RightPaneToggleHandle.css
+++ b/apps/client/src/widgets/sidebar/RightPaneToggleHandle.css
@@ -14,21 +14,19 @@
align-items: center;
justify-content: center;
border: 0;
- border-left: 1px solid transparent;
border-bottom: 1px solid var(--status-bar-border-color);
background: transparent;
padding: 0;
font-size: 16px;
cursor: pointer;
+ color: var(--muted-text-color);
&.right-pane-toggle-handle-action-expand {
background: var(--note-split-background-color, var(--main-background-color));
- border-left-color: var(--main-border-color);
}
&.right-pane-toggle-handle-action-collapse {
background: var(--right-pane-background-color);
- border-right-color: var(--main-border-color);
}
&:hover {
diff --git a/apps/client/src/widgets/sidebar/RightPanelContainer.css b/apps/client/src/widgets/sidebar/RightPanelContainer.css
index f943ee216c..7957cec05a 100644
--- a/apps/client/src/widgets/sidebar/RightPanelContainer.css
+++ b/apps/client/src/widgets/sidebar/RightPanelContainer.css
@@ -5,7 +5,8 @@
body.experimental-feature-new-layout #vertical-main-container {
--right-pane-handle-width: 12px;
position: relative;
- padding-inline-end: var(--right-pane-handle-width);
+ /* +2px leaves a small gap between the panel (and #center-pane) and the handle. */
+ padding-inline-end: calc(var(--right-pane-handle-width) + 2px);
}
body.experimental-feature-new-layout #right-pane {