Skip to content

Commit

Permalink
fix(checkbox): match styles to checkbox icon (#13386)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
alisonjoseph and kodiakhq[bot] authored Mar 23, 2023
1 parent d630dcb commit e985d76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/styles/scss/components/checkbox/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,19 @@

// Checkboxes with a background color look visually off against a parent container.
background-color: transparent;
border-radius: 1px;
border-radius: 2px;
content: '';
}

// Create the appearance of the check in the `after` pseudo-element
.#{$prefix}--checkbox-label::after {
position: absolute;
top: rem(8px);
top: rem(7.5px);
left: rem(7px);
width: rem(9px);
height: rem(5px);
border-bottom: 2px solid $icon-inverse;
border-left: 2px solid $icon-inverse;
border-bottom: 1.5px solid $icon-inverse;
border-left: 1.5px solid $icon-inverse;
margin-top: rem(-3px) #{'/*rtl:0rem*/'};
background: none;
content: '';
Expand Down

0 comments on commit e985d76

Please sign in to comment.