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 committed Oct 17, 2018
1 parent 8727629 commit 87a5d07
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
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
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
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 87a5d07

Please sign in to comment.