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

Update Govspeak "Warning Text" component styles #4487

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

jon-kirwan
Copy link
Contributor

@jon-kirwan jon-kirwan commented Dec 10, 2024

What

Update Govspeak "Warning Text" component styles to extend the GOV.UK Frontend govuk-warning-text__icon styles.

See https://components-gem-pr-4487.herokuapp.com/component-guide/govspeak/warning_callout/preview

Why

The left spacing between the icon and text appears to be excessive compared to both the Warning Text component and its Design System equivalent

Visual Changes

Before (mobile)

After (mobile)

Before (tablet)

components publishing service gov uk_component-guide_govspeak_warning_callout_preview

After (tablet)

components-gem-pr-4487 herokuapp com_component-guide_govspeak_warning_callout_preview (1)

Before (travel advice page - mobile)

After (travel advice page - mobile)

Before (travel advice page - tablet)

www gov uk_foreign-travel-advice_algeria(iPad Pro) (2)

After (travel advice page - tablet)

www gov uk_foreign-travel-advice_algeria(iPad Pro) (1)

@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4487 December 10, 2024 13:33 Inactive
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4487 December 10, 2024 13:34 Inactive
@jon-kirwan jon-kirwan marked this pull request as ready for review December 10, 2024 15:12
@jon-kirwan jon-kirwan force-pushed the update-govspeak-warning-text-styles branch from e7163f4 to 118eeb8 Compare January 6, 2025 11:27
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4487 January 6, 2025 11:27 Inactive
Copy link
Contributor

@andysellick andysellick left a comment

Choose a reason for hiding this comment

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

Just noticed this PR has been in review for a while, figured I'd take a look. Seems fine, happy to approve, just a couple of small things.

@jon-kirwan jon-kirwan force-pushed the update-govspeak-warning-text-styles branch from 118eeb8 to 8988548 Compare January 20, 2025 12:27
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4487 January 20, 2025 12:27 Inactive
@jon-kirwan jon-kirwan force-pushed the update-govspeak-warning-text-styles branch from 8988548 to 78a1efd Compare January 20, 2025 12:36
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4487 January 20, 2025 12:36 Inactive
@jon-kirwan jon-kirwan merged commit 993f8b7 into main Jan 20, 2025
12 checks passed
@jon-kirwan jon-kirwan deleted the update-govspeak-warning-text-styles branch January 20, 2025 13:57
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