Merge pull request woocommerce/woocommerce-admin#1547 from woocommerce/fix/segmented-selection-borders

Segmented Selection: re-apply borders for all browsers
This commit is contained in:
Paul Sealock 2019-02-14 13:30:35 +13:00 committed by GitHub
commit bc412b68b5
3 changed files with 18 additions and 20 deletions

View File

@ -1,6 +1,5 @@
/** /**
* Internal Dependencies * Internal Dependencies
*/ */
@import 'segmented-selection/ie.scss';
@import 'summary/ie.scss'; @import 'summary/ie.scss';
@import 'table/ie.scss'; @import 'table/ie.scss';

View File

@ -1,19 +0,0 @@
/** @format */
.woocommerce-segmented-selection__item {
display: block;
@include set-grid-item-position( 2, 10 );
&:nth-child(2n) {
border-left: 1px solid $core-grey-light-700;
border-top: 1px solid $core-grey-light-700;
}
&:nth-child(2n + 1) {
border-top: 1px solid $core-grey-light-700;
}
&:nth-child(-n + 2) {
border-top: 0;
}
}

View File

@ -14,6 +14,24 @@
background-color: $core-grey-light-700; background-color: $core-grey-light-700;
} }
.woocommerce-segmented-selection__item {
display: block;
@include set-grid-item-position( 2, 10 );
&:nth-child(2n) {
border-left: 1px solid $core-grey-light-700;
border-top: 1px solid $core-grey-light-700;
}
&:nth-child(2n + 1) {
border-top: 1px solid $core-grey-light-700;
}
&:nth-child(-n + 2) {
border-top: 0;
}
}
.woocommerce-segmented-selection__label { .woocommerce-segmented-selection__label {
background-color: $core-grey-light-100; background-color: $core-grey-light-100;
padding: $gap-small $gap-small $gap-small $gap-larger; padding: $gap-small $gap-small $gap-small $gap-larger;