Closed adamsz-lume closed 5 years ago
Heya @adamszymaszczyk,
Can you give us more information why you want to remove this column?
Could you give a more real world example of where you're encountering this issue?
Thanks
As noted in a Slack converstation, we handle this automatically with Nunjucks templates by placing a 'dummy element' where actions otherwise would be:
<span class="govuk-summary-list__actions"></span>
You can use this same approach in your own markup.
@adamszymaszczyk If you swap this bit…
<!-- MISSING dd element with class govuk-summary-list__actions -->
With a dummy placeholder column:
<span class="govuk-summary-list__actions"></span>
It'll work again.
Unfortunately it's because we can't have colspan="2"
with CSS display: table-cell
😬
@adamszymaszczyk I'm going to move this issue to the govuk-frontend repo, as it relates to the component implementation
I'm going to close this out since I think we've resolved your issues, if people run into this again we might need better guidance or to consider an approach which does not require these void elements.
Thank you for raising :)
Below snippet renders the component incorrectly, ref to for a screenshot https://ukgovernmentdigital.slack.com/archives/C6DMEH5R6/p1567164598025800