Merge pull request #3618 from scossar/add-wrapper-class

FIX: padding and alignment issues
This commit is contained in:
Sam 2015-07-22 09:59:24 +10:00
commit b77017abce
6 changed files with 10 additions and 18 deletions

View File

@ -1,6 +1,6 @@
{{render "header"}}
<div id='main-outlet'>
<div id='main-outlet' class='wrap'>
{{outlet}}
{{render "user-card"}}
</div>

View File

@ -1,4 +1,4 @@
<div class='container'>
<div class='wrap'>
<div class='contents clearfix'>
{{home-logo minimized=showExtraInfo}}

View File

@ -4,8 +4,13 @@ img.avatar {
.container {
@extend .clearfix;
}
.wrap {
@extend .clearfix;
margin-right: auto;
margin-left: auto;
padding: 0 8px;
.contents {
position: relative;
}

View File

@ -6,7 +6,7 @@
body {
min-width: $medium-width;
}
.container,
.wrap,
.full-width {
width: $medium-width;
}
@ -17,7 +17,7 @@ and (max-width : 570px) {
body {
min-width: 0;
}
.container,
.wrap,
.full-width {
min-width: 0;
}

View File

@ -298,15 +298,6 @@ button.dismiss-read {
@media all
and (max-width : 850px) {
// add some left padding to topics otherwise everything is 100% flush
// with left edge in portrait tablet, which looks awful
#topic-title {
padding-left: 10px;
}
.container.posts {
padding-left: 10px;
}
.nav-pills {
> li > a {
font-size: 1em;
@ -315,7 +306,6 @@ and (max-width : 850px) {
}
.list-controls {
padding: 0 5px;
.btn {
font-size: 1em

View File

@ -1,8 +1,5 @@
.container {
@extend .clearfix;
.wrap {
max-width: $large-width;
margin-right: auto;
margin-left: auto;
}
.full-width {