Skip to content

Commit

Permalink
Merge pull request #2346 from SpareBank1/header-transition-bugfix
Browse files Browse the repository at this point in the history
fix(ffe-header): transition kun på aktuelle properties
  • Loading branch information
antidecaf authored Oct 4, 2024
2 parents 6ab8e87 + 9929279 commit 35ff5fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ffe-header/less/ffe-header.less
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
}

&__link {
transition: all var(--ffe-transition-duration) var(--ffe-ease);
transition:
color var(--ffe-transition-duration) var(--ffe-ease),
background-color var(--ffe-transition-duration) var(--ffe-ease);
border: 2px solid transparent;

&:link,
Expand Down

0 comments on commit 35ff5fa

Please sign in to comment.