Change the features-list component to support arbitrary markup in the content field
This commit is contained in:
parent
0b0921ba6c
commit
70dc6ea14e
|
@ -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>
|
||||
))}
|
||||
|
|
|
@ -42,6 +42,10 @@
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
& a {
|
||||
color: var(--nomad);
|
||||
}
|
||||
|
||||
& .item-icon img {
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
|
|
Loading…
Reference in a new issue