Skip to content

Commit

Permalink
floating buttons: stop transitioning box-shadow (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and jeromebon committed Nov 11, 2021
1 parent 6941e50 commit 1fdee2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/css/components/_floating-action-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
transition: transform 0.1s ease-out;

@media (min-width: 640px) {
box-shadow: 0 4px 11px rgba(0, 0, 0, 0.3);
Expand All @@ -20,7 +20,6 @@
&:hover,
&.key-focused {
transform: scale(1.15);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

&:focus {
Expand Down

0 comments on commit 1fdee2a

Please sign in to comment.