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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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
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