Skip to content

Commit e2427cc

Browse files
Refactor Picture styles
Co-authored-by: Jamie B <[email protected]>
1 parent 3cf168c commit e2427cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotcom-rendering/src/components/Picture.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,13 +467,13 @@ export const Sources = ({ sources }: { sources: ImageSource[] }) => {
467467

468468
const styles = ({ design }: ArticleFormat, isLightbox: boolean) => {
469469
if (design === ArticleDesign.Gallery) {
470-
return css(css`
470+
return css`
471471
img {
472472
width: 100%;
473473
height: 100%;
474474
object-fit: cover;
475475
}
476-
`);
476+
`;
477477
}
478478
return isLightbox ? flex : block;
479479
};

0 commit comments

Comments
 (0)