Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add panel component #1012

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Add panel component #1012

wants to merge 5 commits into from

Conversation

davidhunter08
Copy link
Contributor

@davidhunter08 davidhunter08 commented Sep 10, 2024

Description

Add panel component for use on confirmation pages.

Large screens

Screenshot 2024-09-12 at 14 19 35

Small screens

Screenshot 2024-09-12 at 14 19 51

Checklist

@edwardhorsford
Copy link
Contributor

@davidhunter08 can you add some screenshots?

Comment on lines +27 to +28
background: $color_nhsuk-green;
border: $nhsuk-border-width-panel solid transparent;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I presume this is similar to the GOV.UK panel - we should double check this looks ok with changed / forced colours.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that's taken from GOV. I'll check what it looks like with changed / forced colours.

border: $nhsuk-border-width-panel solid transparent;
box-sizing: border-box;
color: $color_nhsuk-white;
padding: nhsuk-spacing(6) - $nhsuk-border-width-panel;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comment for why this is different?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which bit @edwardhorsford ?

padding: nhsuk-spacing(6) - $nhsuk-border-width-panel;

@include mq($until: tablet) {
padding: nhsuk-spacing(4) - $nhsuk-border-width-panel;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comment for why this is differenet?

@davidhunter08
Copy link
Contributor Author

Font sizes

After reviewing the panel font sizes, taking into consideration the proposed type scale updates, I've change the panel body font size to 24px(20px on mobile).

panel-font-sizes

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.

2 participants