Skip to content

Build your personal knowledge base with Trilium Notes

style(next)/shell: correct border offset, add entrance animation for notes

Adorian Dorana97c8087a1c1
diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css
index 50f7e8afd5..db66ef3f40 100644
--- a/src/public/stylesheets/theme-next/shell.css
+++ b/src/public/stylesheets/theme-next/shell.css
@@ -876,7 +876,6 @@ body.layout-horizontal .tab-row-widget .note-tab .note-tab-wrapper {
*/
#center-pane {
- padding-top: 2px;
background: var(--main-background-color);
}
@@ -903,6 +902,20 @@ body.mobile .note-title {
border-left: 4px solid var(--root-background);
}
+@keyframes note-entrance {
+ from {
+ opacity: 0;
+ } to {
+ opacity: 1;
+ }
+}
+
+.note-split {
+ padding-top: 2px;
+ animation: note-entrance 100ms linear;
+ will-change: opacity;
+}
+
/*
* Table of contents & Highlights list
*/