Skip to content

Commit

Permalink
fix(sbb-image): improve default image cdn config
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB committed Sep 5, 2024
1 parent 5b1a823 commit 0e29cca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/elements/image/__snapshots__/image.snapshot.spec.snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ snapshots["sbb-image should render Shadow DOM"] =
sizes="1200px"
>
<source
media="(min-width: 37.5rem)"
media="(min-width: 22.5rem)"
sizes="976px"
>
<source
media="(max-width: 37.4375rem)"
media="(max-width: 22.4375rem)"
sizes="320px"
>
<img
Expand Down
4 changes: 2 additions & 2 deletions src/elements/image/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ export class SbbImageElement extends LitElement {
"conditionFeature": "min-width",
"conditionFeatureValue": {
"lyneDesignToken": true,
"value": "sbb-breakpoint-small-min"
"value": "sbb-breakpoint-micro-min"
},
"conditionOperator": false
}
Expand All @@ -544,7 +544,7 @@ export class SbbImageElement extends LitElement {
"conditionFeature": "max-width",
"conditionFeatureValue": {
"lyneDesignToken": true,
"value": "sbb-breakpoint-micro-max"
"value": "sbb-breakpoint-zero-max"
},
"conditionOperator": false
}
Expand Down

0 comments on commit 0e29cca

Please sign in to comment.