Website: Update <ajax-button> styles (#18691)

Changes:
- Updated the styles of the `<ajax-button>` component to keep the
content vertically aligned when the button displays a loading spinner.
This commit is contained in:
Eric 2024-05-01 17:10:35 -05:00 committed by GitHub
parent 74e859b07a
commit 0322bbb822
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -44,6 +44,7 @@
&.syncing {
.button-loader, .button-loading {
display: inline-block;
height: 16px;
}
.button-text {
display: none;

View file

@ -148,6 +148,10 @@
line-height: 150%;
margin-right: 24px;
width: 89px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
}
[purpose='back-button'] {
cursor: pointer;