Skip to content

Commit fdc23a9

Browse files
Merge pull request 0xPolygonID#32 from 0xPolygonID/fix/faq-section
fix html in faq section
2 parents 2207ac2 + 75cd083 commit fdc23a9

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/components/FAQAccordion.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ export const FAQAccordion = (props) => {
1919
</div>
2020
<nav className="faq-dropdown-list">
2121
<div className="faq-dropdown-list-content">
22-
<p className="lead grey-text" dangerouslySetInnerHTML={{__html: content}}></p>
22+
<div className="lead grey-text" dangerouslySetInnerHTML={{__html: content}}></div>
2323
</div>
2424
</nav>
2525
</div>
2626
);
27-
}
27+
}

src/css/custom.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2583,9 +2583,11 @@ p {
25832583
grid-template-rows: 0fr;
25842584
transition: grid-template-rows 0.5s ease-out;
25852585
}
2586-
.faq-dropdown-list p {
2586+
.faq-dropdown-list div.lead {
25872587
margin: 0;
25882588
padding-bottom: 12px;
2589+
line-height: 1.75rem;
2590+
letter-spacing: 0.01rem /* for better visibility */;
25892591
}
25902592
.faq-dropdown-list-content {
25912593
overflow: hidden;

src/data/content-data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ export const contentData = {
261261
},
262262
{
263263
title: 'What main aspects make Polygon ID unique?',
264-
content: "<ul><li>Private by default solution, as a result of the ZK native protocol used.</li><li>There is no direct communication between issuer and verifiers.<li>Offering a scalable and self-sovereign digital identity solution.</li><li>Allows on-chain and off-chain verification, facilitating the deployment of both web2 and web3 use cases.</li><li>Supports bulk issuance of claims with a highly efficient on-chain storage at a minimum transactional cost.</li><li><ul>It enables a wide range of use cases to settle the foundation for a transformative impact with:</li><li>protection against Sybil attacks while preserving privacy. This is achieved using nullifier techniques that assure that an identity (human being) can undertake an action only once. This becomes a key feature for specific use cases such as voting processes.<li>non-reusable proofs: guaranteeing the verifier that the proof presented by the user was not a copy of a proof generated by another identity, and allowing the verifier to check its validity.</li><li>protection against digital footprint tracking.</ul></ul>"
264+
content: "<ul><li>Private by default solution, as a result of the ZK native protocol used.</li><li>There is no direct communication between issuer and verifiers.<li>Offering a scalable and self-sovereign digital identity solution.</li><li>Allows on-chain and off-chain verification, facilitating the deployment of both web2 and web3 use cases.</li><li>Supports bulk issuance of claims with a highly efficient on-chain storage at a minimum transactional cost.</li><li><ul>It enables a wide range of use cases to settle the foundation for a transformative impact with:<li>protection against Sybil attacks while preserving privacy. This is achieved using nullifier techniques that assure that an identity (human being) can undertake an action only once. This becomes a key feature for specific use cases such as voting processes.<li>non-reusable proofs: guaranteeing the verifier that the proof presented by the user was not a copy of a proof generated by another identity, and allowing the verifier to check its validity.</li><li>protection against digital footprint tracking.</ul></ul>"
265265
},
266266
{
267267
title: 'How do I use the Polygon ID wallet?',

0 commit comments

Comments
 (0)