Open lewisdorigo opened 2 months ago
Hi @lewisdorigo
It's not currently intended to nest summary cards (or summary lists) within a summary list.
If using summary cards to group similar types of things then this can be placed under/above other summary lists with an appropriate heading.
See the following example:
You might be interested to know that the summary list page and examples have been updated. This includes simplifying what screenreaders announce for the action buttons, as well as showing how to have a list of answers for a single question and how to include multiple action buttons for a question.
The SGDS team are currently looking at designing nested summary lists so this will hopefully be included in a future release.
Description of the issue
In some cases, for example, when one or more Summary Cards are used as the answer within a Summary List:
ds_summary-list__key
element.ds_summary-list__actions
is not aligned correctly to the top of the row.This appears to be cased because the default value
vertical-align
(baseline
).Adding:
Resolves the issue.
Steps to reproduce the issue
Screenshots
Environment