Skip to content

Build your personal knowledge base with Trilium Notes

styling hack for the design to look correct in both FF and chrome

zadam3d95d69f8080
diff --git a/src/public/stylesheets/desktop.css b/src/public/stylesheets/desktop.css
index 0dc4825f8d..02dbbbebeb 100644
--- a/src/public/stylesheets/desktop.css
+++ b/src/public/stylesheets/desktop.css
@@ -270,7 +270,14 @@ body {
position: relative;
background: linear-gradient(to right, var(--main-border-color), transparent);
height: 1px;
- margin-top: 32px;
+ margin-top: 31px;
+}
+
+/* hack for 1 pixel difference in handling between FF and chrome */
+@-moz-document url-prefix() {
+ .tab-row-filler .tab-row-border {
+ margin-top: 32px;
+ }
}
.note-tab-row .note-tab[active] {