From 7fa88e21dd4835b0e4e42c000356ee971e76410e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alfred=20B=C3=B6sch?= <info@boeschung.de> Date: Mon, 23 Nov 2020 17:31:52 +0100 Subject: [PATCH] Missing dl-tag For displaying the "rights" there is missing a `dl`-Tag, which is wrapping the dt und dd tags. --- src/components/AttributionPanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/AttributionPanel.js b/src/components/AttributionPanel.js index d443a5d07..dc6e2462e 100644 --- a/src/components/AttributionPanel.js +++ b/src/components/AttributionPanel.js @@ -41,7 +41,7 @@ export class AttributionPanel extends Component { )} { rights && rights.length > 0 && ( - <> + <dl className={ns('label-value-metadata')}> <Typography variant="subtitle2" component="dt">{t('rights')}</Typography> { rights.map(v => ( <Typography variant="body1" component="dd" key={v.toString()}> @@ -50,7 +50,7 @@ export class AttributionPanel extends Component { </Link> </Typography> )) } - </> + </dl> ) } </div> -- GitLab