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
623 stars 107 forks source link

Details #162

Closed chrimesdev closed 5 years ago

chrimesdev commented 6 years ago

Details

Use this issue to discuss the Details component.

Preview the details component

Find out more about the action link component and when to use it in the NHS Digital service manual.

See our contributing guidelines

beseven commented 5 years ago

We've used the details component to update the reveal and Q&A wagtail components on the nhsuk-live as we discussed previously. As these particular components allow a markdown component, we had to target the styling of multiple HTML elements to make them fit in with the rest of the styling. As this just a small step prior to integrating the FE library with the project, we wanted to share our learning. Please take a look at the PR and let us know if this is of use to you: https://github.com/nhsuk/nhsuk-frontend/pull/363

chrimesdev commented 5 years ago

Closing these individual placeholder issues.

Please use the NHS digital service manual backlog to discuss the usage of this component. If you're having trouble with the code, or have found a bug, please raise an issue on the NHS.UK frontend backlog