1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

make grid for passphrase display

This commit is contained in:
mrjvs 2023-11-18 15:21:11 +01:00
parent 061c944034
commit 0dd73eec54

View file

@ -36,10 +36,10 @@ export function PassphaseDisplay(props: { mnemonic: string }) {
<span className="text-sm">Copy</span> <span className="text-sm">Copy</span>
</button> </button>
</div> </div>
<div className="px-4 py-4 flex flex-wrap gap-x-2 gap-y-4"> <div className="px-4 py-4 grid grid-cols-4 gap-2">
{individualWords.map((word) => ( {individualWords.map((word) => (
<div <div
className="px-4 rounded-md py-2 bg-authentication-wordBackground text-white font-medium" className="px-4 rounded-md py-2 bg-authentication-wordBackground text-white font-medium text-center"
key={word} key={word}
> >
{word} {word}