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:
parent
c339761a35
commit
0251989c0a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue