Skip to content

Commit

Permalink
fix(color): fix v10 color page bugs (#2471)
Browse files Browse the repository at this point in the history
* testing

* fix(color): fix v10 color page bugs

* fix(color): fix v10 color page bugs v2
  • Loading branch information
andreancardona authored Aug 2, 2021
1 parent d5627f1 commit 11a4b45
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions src/components/ColorBlock/color-block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
height: rem(14px);
width: rem(14px);
border-radius: rem(14px);
border: 1px solid $ui-03;
border: 1px solid $gray-30;
left: -1px;
top: -1px;
}
Expand All @@ -33,6 +33,7 @@
// Color blocks

.color-blocks .bx--caption {
font-size: 14px;
margin-left: $spacing-05;
}

Expand All @@ -41,17 +42,38 @@
padding-left: 0;
}

.color-blocks .bx--col-lg-2:nth-child(1) {
min-width: 50%;

@include carbon--breakpoint('md') {
min-width: 16%;
}
}

.color-blocks .bx--col-lg-2:nth-child(2) {
margin-right: 40%;
min-width: 50%;

@include carbon--breakpoint('md') {
margin-right: 0;
margin-right: 0px;
min-width: 16%;
}
}

.color-blocks .bx--col-lg-2:nth-child(3) {
min-width: 50%;

@include carbon--breakpoint('md') {
margin-left: $spacing-07;
min-width: 16%;
}
}

.color-blocks .bx--col-lg-2:nth-child(4) {
min-width: 50%;

@include carbon--breakpoint('md') {
margin-right: 0px;
min-width: 16%;
}
}

Expand Down

1 comment on commit 11a4b45

@vercel
Copy link

@vercel vercel bot commented on 11a4b45 Aug 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.