Merge "Preview Page: Default Theme: Content Horizontally Scrolling"
This commit is contained in:
commit
abd78b5786
@ -3,7 +3,7 @@
|
||||
</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-1 col-sm-4">
|
||||
<div class="col-lg-3 col-sm-4">
|
||||
<div class="list-group">
|
||||
<a translate class="list-group-item" href="#navbar" target="_self">Navbar</a>
|
||||
<a translate class="list-group-item" href="#buttons" target="_self">Buttons</a>
|
||||
|
@ -14,19 +14,17 @@ $navbar-true-height: $navbar-height + $navbar-border-size !default;
|
||||
|
||||
#main_content {
|
||||
height: 100%;
|
||||
display: table;
|
||||
min-width: $main-content-min-width;
|
||||
padding-top: $navbar-true-height;
|
||||
}
|
||||
|
||||
#content_body,
|
||||
#sidebar {
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
#content_body {
|
||||
width: 100%;
|
||||
padding-left: $sidebar-width;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
|
@ -17,18 +17,12 @@
|
||||
width: 215px;
|
||||
}
|
||||
|
||||
// General Layout Changes
|
||||
#sidebar {
|
||||
position: fixed;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#content_body {
|
||||
transition: padding-left $sidebar-animation;
|
||||
display: block;
|
||||
|
||||
@media (min-width: $screen-lg) {
|
||||
padding-left: $sidebar-width;
|
||||
@media (max-width: $screen-lg) {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user