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

Reset list styles on important-metadata component #2376

Merged
merged 1 commit into from
Mar 3, 2022

Conversation

alex-ju
Copy link
Contributor

@alex-ju alex-ju commented Mar 3, 2022

What

Reset <dl> styles in important-metadata component

Why

This component was most probably relying on a reset stylesheet that has been removed and now it has the browser default margins on the <dl> and <dd> elements. We now reset those values in the component stylesheet.

Visual changes

Live exampleUpdate preview

BeforeAfter
Screenshot 2022-03-03 at 17 09 40 Screenshot 2022-03-03 at 17 09 22

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

This component was probably relying on a reset stylesheet that has been removed and now adds the browser default margins to the dl and dd elements. We reset those values in the component stylesheet.
@govuk-ci govuk-ci temporarily deployed to government-f-reset-dl-s-rvrq7s March 3, 2022 17:12 Inactive
@alex-ju alex-ju requested review from andysellick and injms March 3, 2022 17:12
Copy link
Member

@huwd huwd left a comment

Choose a reason for hiding this comment

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

mmm much better!

@alex-ju alex-ju merged commit 45cacc1 into main Mar 3, 2022
@alex-ju alex-ju deleted the reset-dl-styles-on-metadata-component branch March 3, 2022 18:08
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.

3 participants