Skip to content

Commit

Permalink
fix(card): remove negative margins
Browse files Browse the repository at this point in the history
  • Loading branch information
davidicus committed Nov 5, 2020
1 parent a9d1ed6 commit cbbacec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/Card/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ $iot-header-padding: $spacing-05;

.#{$iot-prefix}--card--wrapper {
background: white;
border: solid $spacing-01 transparent;
height: var(--card-default-height);
display: flex;
flex-direction: column;
Expand All @@ -16,20 +17,17 @@ $iot-header-padding: $spacing-05;
&__selected {
border: solid $spacing-01 $interactive-02;
box-sizing: content-box;
margin: -$spacing-01;
}
}

.#{$iot-prefix}--card__selected {
border: $spacing-01 solid $interactive-02;
box-sizing: content-box;
margin: -$spacing-01;
}

.#{$iot-prefix}--card--resizing {
border: $spacing-01 solid $interactive-02;
box-sizing: content-box;
margin: -$spacing-01;
}

.#{$iot-prefix}--card--title {
Expand Down

0 comments on commit cbbacec

Please sign in to comment.