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

Fix spacing for notices in consultations #1056

Merged
merged 1 commit into from
Aug 16, 2018

Conversation

vanitabarrett
Copy link
Contributor

@vanitabarrett vanitabarrett commented Aug 16, 2018

When we replaced this with the notice component in the gem, we removed the bottom margin in all cases. This meant that sometimes, the heading of a section could appear directly underneath a notice with no spacing.

This fix introduces spacing in those cases, but adds a bottom margin when the notice is immediately followed by a banner item (as per the original design)

Before

screen shot 2018-08-16 at 11 00 21

After

screen shot 2018-08-16 at 11 00 33

Consultation pages:

When we replaced this with the notice component in the gem, we removed the bottom margin in all cases.
This meant that sometimes, the heading of a section could appear directly underneath a notice with no spacing.

This fix introduces spacing in those cases, but adds a bottom margin when the notice is immediately followed by a banner item (as per the original design)
@vanitabarrett vanitabarrett merged commit 1ef4036 into master Aug 16, 2018
@vanitabarrett vanitabarrett deleted the fix-notice-spacing-consultations branch August 16, 2018 11:14
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