diff --git a/assets/stylesheets/sections/_upgrades.scss b/assets/stylesheets/sections/_upgrades.scss index 205d26cadf051..6ad65015dda4a 100644 --- a/assets/stylesheets/sections/_upgrades.scss +++ b/assets/stylesheets/sections/_upgrades.scss @@ -182,7 +182,6 @@ .plan-header { float: left; width: 100%; - height: 50px; box-sizing: border-box; .badge { diff --git a/client/components/plans/plan-discount-message/index.jsx b/client/components/plans/plan-discount-message/index.jsx index b6ec2c9067310..cfb2e7012eb08 100644 --- a/client/components/plans/plan-discount-message/index.jsx +++ b/client/components/plans/plan-discount-message/index.jsx @@ -42,9 +42,7 @@ module.exports = React.createClass( { }, render: function() { - if ( this.planHasDiscount() ) { - return this.planDiscountMessage(); - } else if ( this.showMostPopularMessage() ) { + if ( this.showMostPopularMessage() ) { return this.mostPopularPlan(); } return false; diff --git a/client/components/plans/plan-header/style.scss b/client/components/plans/plan-header/style.scss index c802e32e764d9..8f100cc50c539 100644 --- a/client/components/plans/plan-header/style.scss +++ b/client/components/plans/plan-header/style.scss @@ -34,7 +34,7 @@ .plan-header { background: $white; width: 100%; - padding: 24px 16px; + padding: 24px 16px 16px; position: relative; box-sizing: border-box; cursor: pointer; @@ -80,6 +80,10 @@ display: none; } } + + @include breakpoint( "<480px" ) { + height: 70px; + } } .plans-compare { @@ -140,7 +144,6 @@ .plan.card { .plan-header { float: left; - height: 70px; .plan-header__title { margin: -8px 0 0 0; diff --git a/client/components/plans/plan-price/index.jsx b/client/components/plans/plan-price/index.jsx index 2d03da356272e..a61d525202f6b 100644 --- a/client/components/plans/plan-price/index.jsx +++ b/client/components/plans/plan-price/index.jsx @@ -59,11 +59,11 @@ module.exports = React.createClass( { if ( abtest( 'monthlyPlanPricing' ) === 'monthly' && this.props.isInSignup && plan.raw_price !== 0 ) { periodLabel = this.translate( 'per month, billed yearly' ); } else { - periodLabel = hasDiscount ? this.translate( 'for first year' ) : plan.bill_period_label + periodLabel = hasDiscount ? this.translate( 'due today when you upgrade' ) : plan.bill_period_label } return ( -