Skip to content

Commit

Permalink
Merge pull request #41 from BouyguesTelecom/fix/CardBorder
Browse files Browse the repository at this point in the history
🐛 Correct border for card flat
  • Loading branch information
sara-picoud authored May 15, 2024
2 parents 4485e46 + 7c19de9 commit 6816076
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions packages/styles/framework/src/components/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,9 @@

&.is-flat {
box-shadow: none;

.card-image {
margin-bottom: -1px;
}
border: 1px solid getBGColor('font');

.card-content {
border: 1px solid getBGColor('font');
padding-left: 20px;
padding-right: 20px;

Expand Down
2 changes: 1 addition & 1 deletion packages/styles/framework/src/elements/_badge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
display: inline-flex;
border-radius: 99em;
color: getColor('background');
background: getColor('main');;
background: getColor('main');
font-size: $text-10;
min-height: $text-20;
min-width: $text-20;
Expand Down
2 changes: 1 addition & 1 deletion packages/styles/framework/src/elements/_input-gauge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
margin-bottom: -1px;

.is-success {
background-color: getColor('success')
background-color: getColor('success');
}
}
}
Expand Down

0 comments on commit 6816076

Please sign in to comment.