Skip to content

Commit

Permalink
Fix alignment of report-a-problem at certain widths
Browse files Browse the repository at this point in the history
At a breakpoint below 1020 the report a problem link, and
form, weren't aligned to the grid of the rest of the page, and were
indented by an additional 30px on each side.

This was caused by `%site-width-container` being used on the report
a problem containers, within `#wrapper`, which already extends
`%site-width-container`, causing double margins.

As the report a problem elements already inside a page width container
it's same to remove the use of `%site-width-container` for them.
  • Loading branch information
David Singleton committed Oct 8, 2015
1 parent 4f4b6b9 commit 52f178b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/assets/stylesheets/helpers/_report-a-problem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
}

.report-a-problem-container{
@extend %site-width-container;
clear: both;

.report-a-problem-inner {
Expand Down Expand Up @@ -82,6 +81,5 @@
}

.report-a-problem-toggle-wrapper {
@extend %site-width-container;
clear:both;
}

0 comments on commit 52f178b

Please sign in to comment.