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 inverse flag to govuk_styled_links_list helper #4660

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

leenagupte
Copy link
Contributor

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

@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4660 February 25, 2025 15:29 Inactive
@@ -17,6 +17,6 @@ def govuk_styled_link(text, path: nil, inverse: false)
end

def govuk_styled_links_list(links)
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, I think I was assuming that this would be an all or nothing thing - that you'd have:

def govuk_styled_links_list(links, inverse: false)

...is there a market for having some links in a single list inverse, and some not?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, that's a good shout. Will update.

@leenagupte leenagupte force-pushed the add-inverse-to-helper branch from d4e8932 to 877407f Compare February 25, 2025 16:16
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4660 February 25, 2025 16:16 Inactive
@leenagupte leenagupte requested a review from KludgeKML February 25, 2025 16:25
Copy link
Contributor

@KludgeKML KludgeKML left a comment

Choose a reason for hiding this comment

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

LGTM!

@leenagupte leenagupte merged commit 27000f3 into main Feb 25, 2025
13 checks passed
@leenagupte leenagupte deleted the add-inverse-to-helper branch February 25, 2025 17:06
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