Skip to content

Build your personal knowledge base with Trilium Notes

fix(mindmap): icon + button not visible under light theme

Elian Doran5c304287d512
diff --git a/apps/client/src/widgets/type_widgets/mind_map/NodePanel.css b/apps/client/src/widgets/type_widgets/mind_map/NodePanel.css
index f49ad6bf28..81b382017c 100644
--- a/apps/client/src/widgets/type_widgets/mind_map/NodePanel.css
+++ b/apps/client/src/widgets/type_widgets/mind_map/NodePanel.css
@@ -64,8 +64,9 @@ body.experimental-feature-new-layout .mind-map-node-panel {
--note-icon-size: 20px;
--note-icon-container-padding-size: 4px;
- &:last-child {
+ &:last-child:not(:hover) {
--note-icon-background-color: transparent;
+ --note-icon-custom-color: var(--main-text-color);
}
}