rebase from live enviornment

This commit is contained in:
Rachit Bhargava
2024-01-09 22:14:20 -05:00
parent ff0b49a046
commit 3a22fcaa4a
15968 changed files with 2344674 additions and 45234 deletions

View File

@@ -171,18 +171,22 @@ $fontSizes: (
text-decoration: underline;
}
@mixin hover-effect() {
&:hover {
text-decoration: none;
color: inherit;
cursor: pointer;
}
}
// Reset <button> style so we can use link style for action buttons in filter blocks
@mixin filter-link-button() {
@include link-button();
@include hover-effect();
@include font-size(small);
text-decoration: underline;
font-weight: normal;
color: inherit;
&:hover {
text-decoration: none;
color: inherit;
}
}
// Makes sure long words are broken if they overflow the container.

View File

@@ -54,8 +54,7 @@
display: inline-flex;
justify-content: center;
text-align: center;
// Set button font size and padding so it inherits from parent.
padding: 0.5em 1em;
// Set button font size so it inherits from parent.
font-size: 1em;
&.loading {
@@ -161,6 +160,13 @@
// Element spacing.
.wc-block-grid__product {
// Prevent link and image taking the full width unnecessarily, which might cause: https://github.com/woocommerce/woocommerce-blocks/issues/11438
.wc-block-grid__product-link,
.wc-block-grid__product-image {
display: inline-block;
position: relative;
}
// Not operator necessary for avoid this problem: https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5925/files#r814043454
.wc-block-grid__product-image:not(.wc-block-components-product-image),
.wc-block-grid__product-title {
@@ -299,7 +305,6 @@
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
@include font-size(smaller);
padding: em($gap-smaller);
}
@media only screen and (min-width: 768px) {