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 bottom margin to tabs component #841

Merged
merged 2 commits into from
Jun 28, 2018
Merged

Conversation

kr8n3r
Copy link

@kr8n3r kr8n3r commented Jun 28, 2018

All components (or outer layer components) have @include govuk-responsive-margin(6, "bottom");
applied to them so spacing feels automatic.

Tabs had no margin, so this fixes: #820

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-841 June 28, 2018 07:57 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-841 June 28, 2018 07:59 Inactive
@kr8n3r kr8n3r requested a review from dashouse June 28, 2018 08:27
CHANGELOG.md Outdated
@@ -22,6 +22,11 @@

🔧 Fixes:

- Add bottom margin to Tabs component
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is technically a breaking change...?

Copy link
Contributor

@NickColley NickColley Jun 28, 2018

Choose a reason for hiding this comment

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

I suppose if we have clearly documented that all components have a default margin bottom, and this component does not, it could be considered a fix?

Not sure, @dashouse

Jani Kraner added 2 commits June 28, 2018 14:45
All components (or outer layer components) have
@include govuk-responsive-margin(6, "bottom");
applied to them so spacing feels automatic.
@kr8n3r kr8n3r force-pushed the add-margin-to-tabs-component branch from 467381c to 115e852 Compare June 28, 2018 13:46
@kr8n3r kr8n3r merged commit 9ba931e into master Jun 28, 2018
@kr8n3r kr8n3r deleted the add-margin-to-tabs-component branch June 28, 2018 13:59
@kr8n3r kr8n3r added this to the v1.1.0 milestone Jul 4, 2018
@NickColley NickColley mentioned this pull request Jul 13, 2018
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.

govuk-tabs has no bottom margin
4 participants