Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
/* Keep the set-password page on the same fixed wizard frame as setup. The form
wraps the whole page here (so the footer's submit button stays inside the form
for native submission), but setup.css styles every form under `body.setup` at
80% width — `display: contents` makes the form layout-transparent so the page
and its full-bleed footer fill the card edge to edge instead of being squeezed. */
body.setup .setup-container.set-password-container > form {
display: contents;
}
/* The setup wizard wraps its page in an absolutely-positioned `.slide-page`
(inset: 0) that covers the container's padding box, so `.setup-container`'s own
2em padding is never visible there — only `.page`'s padding shows. This page has
no slide-page, so that container padding would double up with `.page`'s own.
Drop it and let `.page` provide the spacing. */
body.setup .setup-container.set-password-container {
padding: 0;
}
/* The form is short, so centre it within the tall card while the footer stays
pinned at the bottom. */
body.setup .page.set-password > main {
justify-content: center;
width: 75%;
margin: auto;
}