Skip to content

Commit

Permalink
feat(Slices Templates): Improve template image size
Browse files Browse the repository at this point in the history
  • Loading branch information
xrutayisire committed Sep 6, 2023
1 parent 4274216 commit a603e06
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,6 @@ export const createComponentContents = (
<div className="es-bounded__content es-call-to-action__content">
{isFilled.image(slice.primary.image) && (
<PrismicNextImage
width="auto"
height="auto"
className="es-call-to-action__image"
field={slice.primary.image}
/>
Expand Down Expand Up @@ -258,6 +256,8 @@ export const createComponentContents = (
.es-call-to-action__image {
max-width: 14rem;
height: auto;
width: auto;
justify-self: \${alignment};
}
Expand Down Expand Up @@ -331,8 +331,6 @@ export const createComponentContents = (
<div className="es-bounded__content es-call-to-action__content">
{isFilled.image(slice.primary.image) && (
<PrismicNextImage
width="auto"
height="auto"
className="es-call-to-action__image"
field={slice.primary.image}
/>
Expand Down Expand Up @@ -399,6 +397,8 @@ export const createComponentContents = (
.es-call-to-action__image {
max-width: 14rem;
height: auto;
width: auto;
justify-self: \${alignment};
}
Expand Down

0 comments on commit a603e06

Please sign in to comment.