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

Resolve missing .govuk-grid-row for calendar views #2800

Closed
wants to merge 1 commit into from

Conversation

kevindew
Copy link
Member

@kevindew kevindew commented Jun 4, 2021

These views were using the .govuk-grid-column-* classes without them
being inside a .govuk-grid-row which meant that the column floats
weren't cleared.

This caused the following page component, the feedback prompt, to share
the same layout as the columns. This problem is barely noticeable when
Javascript is enabled - with just some minor spacing problems at the
footer. However without javascript it caused styling to spill out making
the page look broken.

Before (without JS)

Screenshot 2021-06-04 at 10 02 42

After (without JS)

Screenshot 2021-06-04 at 10 09 07

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

These views were using the .govuk-grid-column-* classes without them
being inside a .govuk-grid-row which meant that the column floats
weren't cleared.

This caused the following page component, the feedback prompt, to share
the same layout as the columns. This problem is barely noticeable when
Javascript is enabled - with just some minor spacing problems at the
footer. However without javascript it caused styling to spill out making
the page look broken.
@bevanloon bevanloon temporarily deployed to govuk-fronte-fix-calend-fnk31e June 4, 2021 09:21 Inactive
@kevindew
Copy link
Member Author

kevindew commented Jun 4, 2021

This was fixed by the revert in #2801 - which seems to imply that the govuk-grid-row class should be set at a higher level than these views.

I'm going to close this now and let @injms know about the problem for when he consider re-applying the change.

Thanks for having a look @danacotoran

@kevindew kevindew closed this Jun 4, 2021
@kevindew kevindew deleted the fix-calendar-layouts branch June 4, 2021 11:42
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.

None yet

2 participants