chore(client/layout): reduce transitions

This commit is contained in:
Elian Doran 2025-12-09 11:30:18 +02:00
parent bfcf85e0d2
commit 895e9b8bf0
No known key found for this signature in database
2 changed files with 1 additions and 7 deletions

View File

@ -1,6 +1,5 @@
.content-header-widget { .content-header-widget {
position: relative; position: relative;
transition: position 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
z-index: 8; z-index: 8;
} }
@ -10,8 +9,3 @@
z-index: 11; z-index: 11;
background-color: var(--main-background-color, #fff); background-color: var(--main-background-color, #fff);
} }
/* Ensure content inside doesn't get affected by the floating state */
.content-header-widget > * {
transition: inherit;
}

View File

@ -1,7 +1,7 @@
.ribbon-container { .ribbon-container {
margin-bottom: 5px; margin-bottom: 5px;
position: relative; position: relative;
transition: position 0.3s ease, z-index 0.3s ease, top 0.3s ease; transition: top 0.2s ease;
z-index: 8; z-index: 8;
} }