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. git-svn-id: https://develop.svn.wordpress.org/trunk@44652 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
21e479d3a8
commit
7c0a304cf4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user