nhsuk / nhsuk-frontend

NHS.UK frontend contains the code you need to start building user interfaces for NHS websites and services.
https://nhsuk.github.io/nhsuk-frontend/
MIT License
606 stars 106 forks source link

Improve line spacing on summary list #934

Open anandamaryon1 opened 3 months ago

anandamaryon1 commented 3 months ago

What

Summary list rows with multiple values can be difficult to differentiate when text wraps onto multiple lines.

For example:

image

Our summary list is based on GOV.UK, with our styling applied. Compared to GOV.UK, our styling has slightly more line-height, and slightly less margin between paragraphs.

Therefore, to enhance readability, I suggest that we increase the margin slightly, from 8px to 12px.

Proposed design example:

image

Why

To improve readability of summary lists that run onto multiple lines, making lists easier to read and scan, therefore improving the usability of the summary list component.