Skip to content

Commit

Permalink
Merge pull request #142 from B77Mills/fixAnotherImageSize
Browse files Browse the repository at this point in the history
Additional image width prop adjustment to match render & display properties
  • Loading branch information
B77Mills authored Mar 20, 2024
2 parents e1119c8 + 08ef288 commit 0f94890
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion packages/common/components/blocks/content/feed-full.marko
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
attrs={ border: 0, width: 150 }
>
<@link href=node.siteContext.url target="_blank" />
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/fm-today.marko
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -373,7 +373,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/fm-weekly-tim-podcast.marko
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -370,7 +370,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/fm-weekly.marko
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -373,7 +373,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/id-ma-monthly.marko
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -373,7 +373,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/id-today.marko
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -373,7 +373,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/impo-insider.marko
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -374,7 +374,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/imts-weekly.marko
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -373,7 +373,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/manufacturing-today-safety.marko
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -373,7 +373,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/manufacturing-today.marko
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -373,7 +373,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/manufacturing-weekly-comp.marko
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -378,7 +378,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/mbt-today.marko
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -373,7 +373,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/newswire.marko
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -373,7 +373,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down
4 changes: 2 additions & 2 deletions tenants/multi/templates/ot-security-update-weekly.marko
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ $ const textAdButtonLinkStyle = {
<marko-core-obj-value|{ value: image }| obj=node field="primaryImage" as="object">
$ const imgWaterMarkOptions = waterMarkDisplay({ node, newsletter, markWidth: 45, markHeight: 45 });
$ const imgOptions = {
w: 330,
w: 150,
...imgWaterMarkOptions
};
<marko-newsletter-imgix
Expand Down Expand Up @@ -392,7 +392,7 @@ $ const textAdButtonLinkStyle = {
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 330 }
options={ w: 150 }
class="main"
attrs={ border: 0, width: 150 }
>
Expand Down

0 comments on commit 0f94890

Please sign in to comment.