Skip to content

Build your personal knowledge base with Trilium Notes

chore(client/layout): reduce transitions

Elian Doran895e9b8bf02e
diff --git a/apps/client/src/widgets/containers/content_header.css b/apps/client/src/widgets/containers/content_header.css
index 97b2c965cc..060abde126 100644
--- a/apps/client/src/widgets/containers/content_header.css
+++ b/apps/client/src/widgets/containers/content_header.css
@@ -1,6 +1,5 @@
.content-header-widget {
position: relative;
- transition: position 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
z-index: 8;
}
@@ -10,8 +9,3 @@
z-index: 11;
background-color: var(--main-background-color, #fff);
}
-
-/* Ensure content inside doesn't get affected by the floating state */
-.content-header-widget > * {
- transition: inherit;
-}
diff --git a/apps/client/src/widgets/ribbon/style.css b/apps/client/src/widgets/ribbon/style.css
index a14d5bc967..95c8791eb9 100644
--- a/apps/client/src/widgets/ribbon/style.css
+++ b/apps/client/src/widgets/ribbon/style.css
@@ -1,7 +1,7 @@
.ribbon-container {
margin-bottom: 5px;
position: relative;
- transition: position 0.3s ease, z-index 0.3s ease, top 0.3s ease;
+ transition: top 0.2s ease;
z-index: 8;
}