Skip to content

Commit

Permalink
Fix Premium Content button CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfromthelc committed Dec 17, 2024
1 parent 5e270fb commit f585766
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,20 @@
margin: 0;
}

%button-outline-style {
background-color: unset;
color: #32373c;
}

.wp-block-premium-content-login-button,
.wp-block-jetpack-button {
&.is-style-outline {
.wp-block-button__link {
@extend %button-outline-style;
}
}
}

/* Hide Stripe nudge from Jetpack payments block */
/* https://github.com/Automattic/wp-calypso/issues/44332 */
.wp-block-premium-content-container .premium-content-wrapper .jetpack-block-nudge {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@
float: right;
}

%button-outline-style {
background-color: unset;
color: #32373c;
}

.wp-block-premium-content-login-button,
.wp-block-jetpack-button {
&.is-style-outline {
.wp-block-button__link {
@extend %button-outline-style;
}
}
}

/* Legacy Subscribe/Login buttons */

.wp-block-premium-content-logged-out-view__buttons {
Expand Down

0 comments on commit f585766

Please sign in to comment.