Skip to content

Commit

Permalink
Fix body overflow causing scroll bars
Browse files Browse the repository at this point in the history
  • Loading branch information
kinglozzer authored and raissanorth committed Oct 18, 2018
1 parent e3e383a commit 4cf7bb9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion client/dist/styles/bundle.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions client/src/components/Menu/Menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@
background-color: $base-menu-bg;
box-shadow: inset $border-color -1px 0 0;
position: relative;
padding: 0 1px 0 0;
justify-content: flex-end;
padding-right: 1px;
border-top: 1px solid rgba($border-color, .5);

@include media-breakpoint-down(sm) {
Expand Down
12 changes: 8 additions & 4 deletions client/src/styles/legacy/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1354,13 +1354,17 @@ form.member-profile-form {

.cms-panel {
.cms-panel-toggle {
display: flex;
justify-content: flex-end;
padding: 0;

.toggle-collapse,
.toggle-expand {
height: 54px;
display: flex;
flex-direction: column;
justify-content: center;
text-align: right;
text-decoration: none;
line-height: 53px;

&:hover {
background-color: $base-menu;
Expand All @@ -1375,7 +1379,7 @@ form.member-profile-form {
}

.toggle-collapse {
display: block;
display: flex;
}

.toggle-expand {
Expand All @@ -1392,7 +1396,7 @@ form.member-profile-form {
}

.cms-panel-toggle a.toggle-expand {
display: block;
display: flex;
width: auto;
}
}
Expand Down
2 changes: 1 addition & 1 deletion templates/SilverStripe/Admin/Includes/LeftAndMain_Menu.ss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<% include SilverStripe\\Admin\\LeftAndMain_MenuList %>
</div>

<div class="toolbar toolbar--south cms-panel-toggle vertical-align-items">
<div class="toolbar toolbar--south cms-panel-toggle">
<% include SilverStripe\\Admin\\LeftAndMain_MenuToggle %>
</div>
</div>
Expand Down

0 comments on commit 4cf7bb9

Please sign in to comment.