Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Fixes CSS spacing and availability issues for breadcrumb, catalog sor…
Browse files Browse the repository at this point in the history
…t, and result count blocks. (#8391)

* Reset margin on result count block

* Reset margin for catalog sort block

* reset margin and other fixes for breadcrumb block.

* Move styles to relevant files
  • Loading branch information
nerrad authored Feb 14, 2023
1 parent 250c683 commit 5acac1f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assets/js/blocks/breadcrumbs/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
.woocommerce.wc-block-breadcrumbs {
font-size: inherit;
}
.woocommerce.woocommerce-shop .wc-block-breadcrumbs {
.woocommerce-breadcrumb {
margin: auto;
display: block;
}
}
4 changes: 4 additions & 0 deletions assets/js/blocks/catalog-sorting/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
font-size: inherit;
color: inherit;
}

.woocommerce-ordering {
margin: auto;
}
}
3 changes: 3 additions & 0 deletions assets/js/blocks/product-results-count/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
.woocommerce-result-count {
float: none;
font-size: inherit;
// reset for margin
margin: auto;
}
}

0 comments on commit 5acac1f

Please sign in to comment.