style image attribution
This commit is contained in:
@@ -13,8 +13,10 @@ export function ImageFigure(props: ImageProps) {
|
||||
<figure
|
||||
className={`${styles.image} ${imageFormat ? styles[imageFormat] : ""}`}
|
||||
>
|
||||
<NextImage {...nextImageProps} />
|
||||
{attribution && <div className={styles.attribution}>{attribution}</div>}
|
||||
<div className={styles.imageWrapper}>
|
||||
<NextImage {...nextImageProps} />
|
||||
{attribution && <div className={styles.attribution}>{attribution}</div>}
|
||||
</div>
|
||||
{caption && <figcaption>{caption}</figcaption>}
|
||||
</figure>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user