Skip to content

Build your personal knowledge base with Trilium Notes

client: center the inline protected session password prompt on full width instead of max content width

Adorian Doran3c8d023de00f
diff --git a/apps/client/src/widgets/type_widgets/ProtectedSession.css b/apps/client/src/widgets/type_widgets/ProtectedSession.css
index 41a24b8d65..b943aaad1d 100644
--- a/apps/client/src/widgets/type_widgets/ProtectedSession.css
+++ b/apps/client/src/widgets/type_widgets/ProtectedSession.css
@@ -1,3 +1,7 @@
+.component.note-detail:has(> .protected-session-password-component.visible) {
+ --max-content-width: none;
+}
+
.protected-session-password-component {
display: flex;
margin-inline: 40px;