Merge "Remove extraneous table padding"

This commit is contained in:
Jenkins 2016-02-11 14:43:23 +00:00 committed by Gerrit Code Review
commit 285ff46c93
4 changed files with 2 additions and 9 deletions

View File

@ -297,7 +297,7 @@ $em-per-priority: floor($table-col-avg-width / $font-size-base) * 3;
} }
@media (min-width: 0em) { @media (min-width: 0em) {
$content-width: $main-content-min-width - $sidebar-width - (2 * $content-body-padding); $content-width: $main-content-min-width - $sidebar-width;
$max-priority: floor($content-width / $font-size-base / $em-per-priority); $max-priority: floor($content-width / $font-size-base / $em-per-priority);
@for $i from 1 through $max-priority { @for $i from 1 through $max-priority {

View File

@ -27,8 +27,6 @@ $navbar-true-height: $navbar-height + $navbar-border-size !default;
#content_body { #content_body {
width: 100%; width: 100%;
padding-left: $content-body-padding;
padding-right: $content-body-padding;
} }
.page-header { .page-header {

View File

@ -15,7 +15,6 @@ $main-content-min-width: 900px !default;
$sidebar-width: 220px !default; $sidebar-width: 220px !default;
$border-color: #dddddd !default; $border-color: #dddddd !default;
$table-bg-odd: $table-bg-accent !default; $table-bg-odd: $table-bg-accent !default;
$content-body-padding: 15px !default;
/* Workflows */ /* Workflows */

View File

@ -20,11 +20,7 @@
#content_body { #content_body {
transition: padding-left $sidebar-animation; transition: padding-left $sidebar-animation;
display: block; display: block;
padding-left: $sidebar-width + $content-body-padding; padding-left: $sidebar-width;
@media (max-width: $screen-lg) {
padding-left: $content-body-padding;
}
} }
#main_content { #main_content {