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:
parent
f78b2d8619
commit
2ad55b5b9e
|
@ -6,6 +6,7 @@
|
|||
width: auto;
|
||||
border: 1px solid #43454b;
|
||||
border-radius: 3px;
|
||||
box-sizing: border-box;
|
||||
color: #43454b;
|
||||
background: #fff;
|
||||
text-align: center;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
border-color: transparent;
|
||||
color: #fff;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.wc-block-featured-category {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
border-color: transparent;
|
||||
color: #fff;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.wc-block-featured-product {
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue