Skip to content

Commit

Permalink
fix(layout): Incorrect default width for main content
Browse files Browse the repository at this point in the history
When using a collapsed layout it seems col-sm-8 was being used instead
of col-sm12. This does not matter for standard width pages but has an
effect on full-width pages in  narrow layout scenarios - the page does
not become full width. This happens because col-sm-* are defined after
the col-md-* classes and they override.

Bug introduced in 2cadd17
  • Loading branch information
atruskie committed Feb 10, 2017
1 parent bed39f2 commit dd87e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

<!-- each view must specify the controller they use -->
<div id="content-wrapper"
class="col-sm-8"
class="col-sm-12"
ng-class="{ 'col-md-12': fullWidth, 'col-md-8': !fullWidth, 'col-md-pull-2': !fullWidth }"
ng-view autoscroll>
</div>
Expand Down

0 comments on commit dd87e64

Please sign in to comment.