Twenty Nineteen: Fix alignment of page title when there are no posts.
Fix the alignment of the "Nothing Found" page title when there are no posts, to match how it appears for the search results when nothing is found, and the 404 page. Props kjellr, lorenzone92. Fixes #45887. Built from https://develop.svn.wordpress.org/trunk@44652 git-svn-id: http://core.svn.wordpress.org/trunk@44483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b7897c5761
commit
fc83cdfe6c
|
@ -50,6 +50,7 @@
|
|||
.error-404.not-found,
|
||||
.no-results.not-found {
|
||||
|
||||
.page-title,
|
||||
.page-content {
|
||||
|
||||
margin: calc(3 * #{$size__spacing-unit}) #{$size__spacing-unit};
|
||||
|
|
|
@ -4800,13 +4800,17 @@ body.page .main-navigation {
|
|||
}
|
||||
|
||||
/* 404 & Not found */
|
||||
.error-404.not-found .page-title,
|
||||
.error-404.not-found .page-content,
|
||||
.no-results.not-found .page-title,
|
||||
.no-results.not-found .page-content {
|
||||
margin: calc(3 * 1rem) 1rem;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.error-404.not-found .page-title,
|
||||
.error-404.not-found .page-content,
|
||||
.no-results.not-found .page-title,
|
||||
.no-results.not-found .page-content {
|
||||
margin: calc(3 * 1rem) calc(10% + 60px) calc(1rem / 2);
|
||||
}
|
||||
|
|
|
@ -4806,13 +4806,17 @@ body.page .main-navigation {
|
|||
}
|
||||
|
||||
/* 404 & Not found */
|
||||
.error-404.not-found .page-title,
|
||||
.error-404.not-found .page-content,
|
||||
.no-results.not-found .page-title,
|
||||
.no-results.not-found .page-content {
|
||||
margin: calc(3 * 1rem) 1rem;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.error-404.not-found .page-title,
|
||||
.error-404.not-found .page-content,
|
||||
.no-results.not-found .page-title,
|
||||
.no-results.not-found .page-content {
|
||||
margin: calc(3 * 1rem) calc(10% + 60px) calc(1rem / 2);
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-beta1-44651';
|
||||
$wp_version = '5.1-beta1-44652';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue