mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Improve the loading experience for the new UI
This commit is contained in:
parent
854dc242c4
commit
7939f06f6b
6 changed files with 102 additions and 12 deletions
|
@ -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%);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue