Skip to content

Commit 75eac3f

Browse files
committed
W-2129587: removed wrapperStyle for LoadingSpinner to have full screen overlay
1 parent a159589 commit 75eac3f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/template-retail-react-app/app/pages/cart/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ const Cart = () => {
14931493
)}
14941494

14951495
{/* Loading overlay during express payment confirmation */}
1496-
{confirmingBasket && <LoadingSpinner wrapperStyles={{height: '100vh'}} />}
1496+
{confirmingBasket && <LoadingSpinner />}
14971497
</Box>
14981498
)
14991499
}

packages/template-retail-react-app/app/pages/checkout/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const Checkout = () => {
289289
)}
290290

291291
{/* Loading overlay during express payment confirmation */}
292-
{confirmingBasket && <LoadingSpinner wrapperStyles={{height: '100vh'}} />}
292+
{confirmingBasket && <LoadingSpinner />}
293293
</Box>
294294
)
295295
}
@@ -340,7 +340,7 @@ const CheckoutContainer = () => {
340340

341341
return (
342342
<CheckoutProvider>
343-
{isDeletingUnavailableItem && <LoadingSpinner wrapperStyles={{height: '100vh'}} />}
343+
{isDeletingUnavailableItem && <LoadingSpinner />}
344344
<GoogleAPIProvider>
345345
<Checkout />
346346
</GoogleAPIProvider>

0 commit comments

Comments
 (0)