Skip to content

Build your personal knowledge base with Trilium Notes

fix(ui): Avoid over-long title blocking electron native title bar

SiriusXT755d0002c995
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 16fb87aefc..96bf71fb20 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -1782,7 +1782,7 @@ body.zen .title-row {
height: unset !important;
-webkit-app-region: drag;
padding-left: env(titlebar-area-x);
- padding-right: 2.5em;
+ padding-right: calc(100vw - env(titlebar-area-width, 100vw) + 2.5em);
}
body.zen .floating-buttons {