From 895e9b8bf02eb0f8cd1766f1b33329c31b5b5484 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 9 Dec 2025 11:30:18 +0200 Subject: [PATCH] chore(client/layout): reduce transitions --- apps/client/src/widgets/containers/content_header.css | 6 ------ apps/client/src/widgets/ribbon/style.css | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/client/src/widgets/containers/content_header.css b/apps/client/src/widgets/containers/content_header.css index 97b2c965c..060abde12 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 a14d5bc96..95c8791eb 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; }