ResetNetwork / apply-app

The app behind the ResetNetwork
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Bunch of minor formatting issues when this application renders but in editor, looks fine. #97

Closed danblah closed 4 years ago

danblah commented 4 years ago

See https://apply.reset.tech/apply/submissions/14/

What gives?

danblah commented 4 years ago

Seeing the same thing in multiple applications. Seems there is a double new line for bullets as one example.

frjo commented 4 years ago

In the application you link to above it's the formatting the applicant pasted in that makes this happen. It look like this.

<ul style="margin-top: 0; margin-bottom: 0;">
<li dir="ltr" style="list-style-type: disc; font-size: 11pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre;">
<p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;" role="presentation"><span style="font-size: 11pt; font-family: Arial; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Text here</span></p>
</li>
</ul>

We could add some CSS that removes margin from p-tags inside li tags inside "answer" class. Not the nicest things too hard code in but we do worse things to make applications somewhat readable.