Skip to content

Commit

Permalink
Merge pull request #162 from nextmcloud/nmc-2554/remove-transition-an…
Browse files Browse the repository at this point in the history
…imations-for-header-menu-items

Remove all transition animations for header menu
  • Loading branch information
tsdicloud authored Oct 20, 2023
2 parents 1a3950b + 6a0773b commit 17aeb22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion css/components/ncappmenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ header {
pointer-events: none;
position: absolute;
transform: translateX(-50%);
transition: all .1s ease-in-out;
width: 100%;
}

Expand All @@ -46,6 +45,7 @@ header {
opacity: 1;
position: relative;
top: calc(50% - var(--default-line-height) / 2);
transition: none;
}

&.app-menu-entry__active {
Expand Down
1 change: 0 additions & 1 deletion css/components/ncheadermenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ $breakpoint-mobile: 1024px;
position: fixed;
bottom: 8px;
transform: translateX(-50%);
transition: all .1s ease-in-out;
width: 100%;
}
}
Expand Down

0 comments on commit 17aeb22

Please sign in to comment.