Skip to content

Build your personal knowledge base with Trilium Notes

style(website): full-height layout

Elian Doran10f7837a7f59
diff --git a/apps/website2/src/style.css b/apps/website2/src/style.css
index eca2fa44b7..d020e1ea3d 100644
--- a/apps/website2/src/style.css
+++ b/apps/website2/src/style.css
@@ -26,6 +26,13 @@ body {
margin: 0;
line-height: 1.5;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
+ min-height: 100vh;
+}
+
+main {
+ min-height: calc(100vh - 80px);
+ display: flex;
+ flex-direction: column;
}
body {
@@ -40,11 +47,16 @@ a {
.content-wrapper {
max-width: 1200px;
+ width: 100%;
margin: auto;
}
section {
padding: 3em 0;
+ flex-grow: 1;
+ display: flex;
+ justify-content: center;
+ align-items: stretch;
}
section h2 {