Skip to content

Commit

Permalink
Merge branch 'io-426' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaashl committed Nov 23, 2023
2 parents 0deffd0 + 248d191 commit 74a1eef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fixed spacing around links and buttons in portrait card on all breakpoints.
- Fixed hardcoded references to use s3.dualstack for IPv6 support.
- Prevent plus/minus icon to show in other variants than filter.

Expand Down
10 changes: 7 additions & 3 deletions src/components/cards/portrait_card/portrait_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@ $ods-portrait-card-image-height-large: 290px;
}

&__actions {
@extend %ods-padding-horizontal-3, %ods-padding-bottom-4, %ods-padding-top-0-breakpoint-medium, %ods-padding-horizontal-4-breakpoint-medium, %ods-padding-bottom-8-breakpoint-medium, %ods-padding-top-0-breakpoint-large, %ods-padding-horizontal-8-breakpoint-large, %ods-padding-bottom-8-breakpoint-large;
@extend %ods-padding-horizontal-5, %ods-padding-bottom-4, %ods-padding-top-0-breakpoint-medium, %ods-padding-horizontal-4-breakpoint-medium, %ods-padding-bottom-8-breakpoint-medium, %ods-padding-top-0-breakpoint-large, %ods-padding-horizontal-4-breakpoint-large, %ods-padding-bottom-8-breakpoint-large;
@extend %ods-color-bg-gray-light;

& .ods-button {
padding: 0;
}
}

&__heading {
Expand Down Expand Up @@ -71,7 +75,7 @@ $ods-portrait-card-image-height-large: 290px;

&--xs {
& .ods-portrait-card__content {
@extend %ods-padding-5, %ods-padding-4-breakpoint-medium, %ods-padding-5-breakpoint-large;
@extend %ods-padding-4, %ods-padding-4-breakpoint-medium, %ods-padding-4-breakpoint-large;
}

& .ods-portrait-card__heading {
Expand All @@ -98,7 +102,7 @@ $ods-portrait-card-image-height-large: 290px;
}

& .ods-portrait-card__actions {
@extend %ods-padding-top-0-breakpoint-large, %ods-padding-horizontal-8-breakpoint-large, %ods-padding-bottom-4-breakpoint-large;
@extend %ods-padding-top-0-breakpoint-large, %ods-padding-horizontal-4-breakpoint-large, %ods-padding-bottom-4-breakpoint-large;
}
}

Expand Down

0 comments on commit 74a1eef

Please sign in to comment.