From 77deed91a6dc503704d4585175985892c8f0b4e5 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sat, 27 Jun 2020 21:03:49 +0200 Subject: [PATCH] Fix styling for profileDataItem without label --- assets/scripts.js | 10 +++++----- assets/styles.css | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/assets/scripts.js b/assets/scripts.js index 03d5467..bff0125 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -194,7 +194,7 @@ async function displayProfile(opts) { console.log(keyData); // Generate feedback - feedback += `
`; + feedback += `
`; feedback += `
`; feedback += `
general information
`; feedback += `
`; @@ -209,7 +209,7 @@ async function displayProfile(opts) { feedback += ``; feedback += `
`; - feedback += `
`; + feedback += `
`; feedback += `
`; feedback += `
proofs
`; feedback += `
`; @@ -227,15 +227,15 @@ async function displayProfile(opts) { feedback += `
`; } - feedback += `
`; + feedback += `
`; feedback += `
`; feedback += `
actions
`; feedback += `
`; - feedback += `
`; + feedback += `
`; feedback += `
`; feedback += ``; feedback += `
`; - feedback += `
`; + feedback += `
`; feedback += `
`; feedback += ``; feedback += `
`; diff --git a/assets/styles.css b/assets/styles.css index 7029fff..695b59d 100644 --- a/assets/styles.css +++ b/assets/styles.css @@ -166,4 +166,7 @@ a.proofUrl:hover { .profileDataItem__value { min-height: 28px; } + .profileDataItem--noLabel .profileDataItem__label { + display: none; + } }