Twenty Seventeen: Make spacing on pages without comments consistent

Previously, the top of the page had more space than the bottom, not matching the original design.

Props laurelfulford, melchoyce.
Merges [39404] onto the 4.7 branch.
Fixes #38972 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39405


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2016-12-01 02:52:47 +00:00
parent 1d9a15ad4a
commit 41118e509a
2 changed files with 10 additions and 2 deletions

View File

@ -2239,6 +2239,10 @@ body:not(.twentyseventeen-front-page) .entry-header {
margin: 0 0 1.5em; margin: 0 0 1.5em;
} }
.page:not(.home) #content {
padding-bottom: 1.5em;
}
/* 404 page */ /* 404 page */
.error404 .page-content { .error404 .page-content {
@ -3657,7 +3661,7 @@ object {
/* Posts */ /* Posts */
.site-content { .site-content {
padding: 6.5em 0 0; padding: 5.5em 0 0;
} }
.single-post .entry-title, .single-post .entry-title,
@ -3818,6 +3822,10 @@ object {
margin-bottom: 4em; margin-bottom: 4em;
} }
.page:not(.home) #content {
padding-bottom: 3.25em;
}
/* 404 page */ /* 404 page */
.error404 .page-content { .error404 .page-content {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-RC1-39403'; $wp_version = '4.7-RC1-39405';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.