Skip to content

Build your personal knowledge base with Trilium Notes

feat(relation_map): give note cards a darker shadow than the board's

Elian Dorand996169acd90
diff --git a/apps/client/src/widgets/type_widgets/relation_map/NoteBox.css b/apps/client/src/widgets/type_widgets/relation_map/NoteBox.css
index d071fb4558..75da44f1b1 100644
--- a/apps/client/src/widgets/type_widgets/relation_map/NoteBox.css
+++ b/apps/client/src/widgets/type_widgets/relation_map/NoteBox.css
@@ -1,4 +1,8 @@
.note-detail-relation-map .note-box {
+ /* Darker than on a board: the cards stand on the bare note background, not in a column. */
+ --board-item-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
+ --board-item-hover-shadow: 0 2px 7px rgba(0, 0, 0, 0.22);
+
position: absolute !important;
z-index: 4;
display: flex;