Skip to content

Build your personal knowledge base with Trilium Notes

feat(header): improve header fit on smaller screens

Elian Doran6ca37ca7f412
diff --git a/apps/website/src/components/Header.css b/apps/website/src/components/Header.css
index b719ddb9a1..5ed44eb19c 100644
--- a/apps/website/src/components/Header.css
+++ b/apps/website/src/components/Header.css
@@ -145,3 +145,30 @@ header {
}
}
}
+
+@media ((min-width: 720px) and (max-width: 1115px)) {
+ header {
+ .banner span {
+ display: none;
+ }
+
+ .repository-button {
+ display: none;
+ }
+
+ nav {
+ font-size: 0.9em;
+ justify-content: center;
+ }
+
+ .download-button {
+ font-size: 0.8em;
+ padding: 0.5em;
+
+ .text {
+ display: flex;
+ flex-direction: column;
+ }
+ }
+ }
+}