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

Commit

Permalink
Merge pull request #1547 from woocommerce/fix/segmented-selection-bor…
Browse files Browse the repository at this point in the history
…ders

Segmented Selection: re-apply borders for all browsers
  • Loading branch information
psealock authored Feb 14, 2019
2 parents 835bb8b + 386506f commit 2a0d8aa
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 20 deletions.
1 change: 0 additions & 1 deletion packages/components/src/ie.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Internal Dependencies
*/
@import 'segmented-selection/ie.scss';
@import 'summary/ie.scss';
@import 'table/ie.scss';
19 changes: 0 additions & 19 deletions packages/components/src/segmented-selection/ie.scss

This file was deleted.

18 changes: 18 additions & 0 deletions packages/components/src/segmented-selection/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,24 @@
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 {
background-color: $core-grey-light-100;
padding: $gap-small $gap-small $gap-small $gap-larger;
Expand Down

0 comments on commit 2a0d8aa

Please sign in to comment.