Skip to content

Add css border to live pages route summary - #3132

Draft
DavidBiddle wants to merge 2 commits into
mainfrom
add-css-border-to-live-pages-route-summary
Draft

DavidBiddle wants to merge 2 commits into
mainfrom
add-css-border-to-live-pages-route-summary

Conversation

@DavidBiddle

Copy link
Copy Markdown
Contributor

What problem does this pull request solve?

Trello card:

Things to consider when reviewing

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Are there all the unit tests needed?
  • Do the end to end tests need updating before these changes will pass?
  • Has all relevant documentation been updated?

When we built this component, we added CSS to remove the border on the last item in a summary list. This is now handled in the Design System component, so our custom style is redundant.
Usually the summary list will be the last item in a summary card, so it makes sense to remove the border on the last row. However, in our case we sometimes add additional content to the summary card - for example, on the live pages view we now add exit page content to the summary card after the summary list.

This commit updates our custom summary card CSS so that it will add a border and spacing to the bottom of any summary list within a card that has additional content after it. This should make the component easier to understand visually.
@github-actions

Copy link
Copy Markdown

🎉 A review copy of this PR has been deployed! You can reach it at: https://pr-3132.admin.review.forms.service.gov.uk/

It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready
after 5 minutes, there may be something wrong with the ECS task. You will need to go to the integration AWS account
to debug, or otherwise ask an infrastructure person.

For the sign in details and more information, see the review apps wiki page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant