style: add break word to profile hashes (#138)

This commit is contained in:
Barbara Gomes 2023-02-02 03:38:04 -05:00 committed by GitHub
parent 9e332bbc15
commit 391e149a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,12 +104,14 @@
</div>
{/if}
{#each Object.entries($profile.identities) as [name, identity]}
<div>{name}</div>
<div>commitment: {identity.getCommitment().toString(16)}</div>
<div>nullifier: {identity.getNullifier().toString(16)}</div>
<div>trapdoor: {identity.getTrapdoor().toString(16)}</div>
{/each}
<div class="info">
{#each Object.entries($profile.identities) as [name, identity]}
<div>{name}</div>
<div>commitment: {identity.getCommitment().toString(16)}</div>
<div>nullifier: {identity.getNullifier().toString(16)}</div>
<div>trapdoor: {identity.getTrapdoor().toString(16)}</div>
{/each}
</div>
</div>
<style lang="scss">
@ -190,4 +192,13 @@
text-align: center;
}
}
.info {
padding: var(--spacing-12);
max-width: 100%;
word-wrap: break-word;
> div:not(:first-child) {
margin-top: var(--spacing-12);
}
}
</style>