Fix box-sizing on Global Styles blocks with border width control (https://github.com/woocommerce/woocommerce-blocks/pull/6043)

Set box-sizing to border-box on affected blocks: Featured product, featured category, sale badge.
This commit is contained in:
Tomasz Tunik 2022-03-11 13:01:15 +01:00 committed by GitHub
parent f78b2d8619
commit 2ad55b5b9e
4 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,7 @@
width: auto;
border: 1px solid #43454b;
border-radius: 3px;
box-sizing: border-box;
color: #43454b;
background: #fff;
text-align: center;

View File

@ -3,6 +3,7 @@
border-color: transparent;
color: #fff;
overflow: hidden;
box-sizing: border-box;
}
.wc-block-featured-category {

View File

@ -3,6 +3,7 @@
border-color: transparent;
color: #fff;
overflow: hidden;
box-sizing: border-box;
}
.wc-block-featured-product {

View File

@ -1,12 +1,12 @@
{
"name": "@woocommerce/block-library",
"version": "7.2.0-dev",
"version": "7.3.0-dev",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@woocommerce/block-library",
"version": "7.2.0-dev",
"version": "7.3.0-dev",
"hasInstallScript": true,
"license": "GPL-3.0+",
"dependencies": {