Skip to content

Build your personal knowledge base with Trilium Notes

fix(mindmap): respect safe areas when in full screen

Elian Doran19ec3132706d
diff --git a/apps/client/src/widgets/type_widgets/MindMap.css b/apps/client/src/widgets/type_widgets/MindMap.css
index adeb32f212..480666d677 100644
--- a/apps/client/src/widgets/type_widgets/MindMap.css
+++ b/apps/client/src/widgets/type_widgets/MindMap.css
@@ -121,4 +121,14 @@
.map-container .node-menu .bof .selected {
background-color: tomato;
color: #fff
-}
\ No newline at end of file
+}
+
+.mind-map-container:fullscreen {
+ .rb {
+ bottom: calc(20px + env(safe-area-inset-bottom));
+ }
+
+ .lt {
+ top: calc(20px + env(safe-area-inset-top));
+ }
+}