Skip to content

Commit

Permalink
Bug: Fixing information styling in brief view.
Browse files Browse the repository at this point in the history
  • Loading branch information
erinesullivan committed Aug 20, 2024
1 parent 716df6e commit 3998743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/reusable/components/Metadata/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default function Metadata ({ data, kind }) {
const { description, term, termPlural } = datum;
const isExpandable = description.length > 5;
return (
<div className='metadata-list-item' key={datumIndex}>
<div className={kind === 'condensed' ? '' : 'metadata-list-item'} key={datumIndex}>
<Expandable>
<dt className={kind === 'condensed' ? 'visually-hidden' : ''}>
{term}
Expand Down

0 comments on commit 3998743

Please sign in to comment.