Skip to content

Commit

Permalink
fix(ffe-buttons): zoom spinner base button
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Hellstrand committed Feb 22, 2024
1 parent 7bb36b7 commit 6a1c7af
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/ffe-buttons/less/base-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,12 @@
opacity: 0;
position: absolute;
right: 0;
top: 8px;
top: 0;
transform: translateY(24px);
transition: all @ffe-transition-duration @ffe-ease;
visibility: hidden;
display: grid;
place-items: center;

.ffe-button--loading & {
opacity: 1;
Expand All @@ -282,9 +284,8 @@
border-top-color: transparent;
content: '';
display: block;
height: 22px;
margin: 0 auto;
width: 22px;
height: 1.375rem;
aspect-ratio: 1;

@keyframes button-loading-spin {
from {
Expand Down

0 comments on commit 6a1c7af

Please sign in to comment.