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.

Fixes #38972.

Built from https://develop.svn.wordpress.org/trunk@39404


git-svn-id: http://core.svn.wordpress.org/trunk@39344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
David A. Kennedy 2016-12-01 02:48:48 +00:00
parent a1ec867b61
commit bfdb5f5cd4
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.8-alpha-39402'; $wp_version = '4.8-alpha-39404';
/** /**
* 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.