0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Fixed loading indicator for upgrade plans

This commit is contained in:
Rishabh 2022-03-29 12:12:03 +05:30
parent c339761a35
commit 0251989c0a

View file

@ -382,7 +382,7 @@ export const ProductsSectionStyles = ({site}) => {
position: static; position: static;
} }
} }
@media (max-width: 370px) { @media (max-width: 370px) {
.gh-portal-product-price .currency-sign { .gh-portal-product-price .currency-sign {
font-size: 1.8rem; font-size: 1.8rem;
@ -604,7 +604,7 @@ function ProductCard({product, products, selectedInterval, handleChooseSignup})
const {action} = useContext(AppContext); const {action} = useContext(AppContext);
const cardClass = selectedProduct === product.id ? 'gh-portal-product-card checked' : 'gh-portal-product-card'; const cardClass = selectedProduct === product.id ? 'gh-portal-product-card checked' : 'gh-portal-product-card';
let disabled = (action === 'signup:running') ? true : false; let disabled = (['signup:running', 'checkoutPlan:running'].includes(action)) ? true : false;
if (isCookiesDisabled()) { if (isCookiesDisabled()) {
disabled = true; disabled = true;