Change the features-list component to support arbitrary markup in the content field

This commit is contained in:
Michael Lange 2020-12-10 12:05:17 -08:00
parent 0b0921ba6c
commit 70dc6ea14e
2 changed files with 8 additions and 1 deletions

View file

@ -14,7 +14,10 @@ export default function FeaturesList({ title, items, intro }) {
</div>
<div className="content">
<h4 className="g-type-display-4">{title}</h4>
<p className="g-type-body-small">{content}</p>
<p
className="g-type-body-small"
dangerouslySetInnerHTML={{ __html: content }}
/>
</div>
</div>
))}

View file

@ -42,6 +42,10 @@
margin: 0;
}
& a {
color: var(--nomad);
}
& .item-icon img {
width: 72px;
height: 72px;