Skip to content

Commit

Permalink
Take out wide breakpoints on wiki page Revision History
Browse files Browse the repository at this point in the history
refs: CNVS-27362

Test Plan:
- Go to a wiki page and "revision history"
Screenshot: http://cl.ly/1n3X0e032h2H
- The sidebar on the right side does not change width from 992px up

Change-Id: I856227e2c352f45cd40d8e07e5217164ce1b8aff
Reviewed-on: https://gerrit.instructure.com/74022
Tested-by: Jenkins
Reviewed-by: Pam Hiett <[email protected]>
Product-Review: Pam Hiett <[email protected]>
QA-Review: Nathan Rogowski <[email protected]>
  • Loading branch information
Colleen Palmer committed Mar 11, 2016
1 parent 089b4d0 commit c3264af
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions app/stylesheets/components/_g_wiki.scss
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,8 @@ $revision-button-hover-color: $ic-brand-primary;
@if $use_new_styles {
@include breakpoint(desktop) {
float: left;
margin-right: $revision-sidebar-width - 60px;
margin-right: $revision-sidebar-width;
}
@include breakpoint(wide) { margin-right: $revision-sidebar-width; }
}
@else {
flex: 3 3 0%;
Expand All @@ -460,17 +459,13 @@ $revision-button-hover-color: $ic-brand-primary;
position: absolute;
top: 0;
right: 0;
width: $revision-sidebar-width - 60px;
width: $revision-sidebar-width;
aside {
width: $revision-sidebar-width - 60px;
width: $revision-sidebar-width;
position: fixed;
padding-top: $ic-sp*2;
}
}
@include breakpoint(wide) {
width: $revision-sidebar-width;
aside { width: $revision-sidebar-width; }
}
}
@else {
flex: 1 1 0%;
Expand Down

0 comments on commit c3264af

Please sign in to comment.