Skip to content

Commit

Permalink
Merge pull request #1794 from SpareBank1/develop_fiks-spinner-button
Browse files Browse the repository at this point in the history
fix(ffe-buttons): zoom spinner base button
  • Loading branch information
pethel authored Feb 22, 2024
2 parents c38cdf7 + 6a1c7af commit 60299ae
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 60299ae

Please sign in to comment.