Skip to content

Commit

Permalink
Merge pull request #187 from 10up/fix/frontend-styles
Browse files Browse the repository at this point in the history
Adjust frontend styles to be compatible with latest core themes
  • Loading branch information
jeffpaul authored Apr 12, 2024
2 parents 489373a + c6c65ef commit 0926109
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions assets/css/frontend/components/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ div.wp-block-group.pmk-tabs-table {
text-align: left;
}

& tbody tr:nth-child(even) {
background-color: var(--wp--preset--color--base);
color: var(--wp--preset--color--contrast);
}

& tbody tr:nth-child(odd) {
background-color: var(--pmk-global-color-background-focus);
color: var(--pmk-global-color-text-on-background);
Expand Down
5 changes: 2 additions & 3 deletions assets/css/frontend/components/why-digital.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
div.wp-block-group.pmk-why-digital {
background-color: var(--pmk-global-color-background-focus);
color: var(--pmk-global-color-text-on-background);
margin-bottom: var(--pmk-spacing-components);
margin-top: 0;
margin: var(--pmk-spacing-components) 0;
padding: var(--pmk-spacing-related);

& .wp-block-group__inner-container {

@mixin has-full-width-background;

padding: var(--pmk-spacing-components) 0 var(--pmk-spacing-internal-xlarge);
}

& h2 {
Expand Down

0 comments on commit 0926109

Please sign in to comment.