Merge pull request #3269 from woocommerce/PCP-4429-improve-the-loading-experience

Improve the loading experience for the new UI (4429)
This commit is contained in:
Emili Castells 2025-04-15 09:18:54 +02:00 committed by GitHub
commit c45cb61fd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 106 additions and 32 deletions

View file

@ -1,5 +1,4 @@
.ppcp-r-spinner-overlay {
background: var(--spinner-overlay-color);
position: absolute;
width: 100%;
height: 100%;
@ -13,8 +12,6 @@
left: 50%;
transform: translate(-50%, -50%);
margin: 0;
width: var(--spinner-size);
height: var(--spinner-size);
}
.ppcp--spinner-message {
@ -29,7 +26,6 @@
position: fixed;
width: var(--spinner-overlay-width);
height: var(--spinner-overlay-height);
box-shadow: var(--spinner-overlay-box-shadow);
left: 50%;
top: 50%;
transform: translate(-50%, -50%);