mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Twenty Twenty-One: Fixes alignment of site title and navigation links.
There was a text alignment issue not centering on all screen sizes. This fixes that and centers vertically. Props vijaysinh9094, poena, sabernhardt. Fixes #61633. Built from https://develop.svn.wordpress.org/trunk@58726 git-svn-id: http://core.svn.wordpress.org/trunk@58128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
31b1f8dfa4
commit
98ef1859bd
@ -4172,7 +4172,7 @@ table.wp-calendar-table caption {
|
||||
|
||||
.site-branding {
|
||||
margin-right: initial;
|
||||
margin-top: 4px;
|
||||
margin-top: calc(13px - 0em);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
@include media(mobile) {
|
||||
margin-right: initial;
|
||||
margin-top: 4px; // Align the baseline of the site title with the primary menu
|
||||
margin-top: calc(var(--primary-nav--padding) - 0.3em); // Align the baseline of the site title with the primary menu
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3729,7 +3729,7 @@ table.wp-calendar-table caption {
|
||||
|
||||
.site-branding {
|
||||
margin-left: initial;
|
||||
margin-top: 4px;
|
||||
margin-top: calc(var(--primary-nav--padding) - 0.3em);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3749,7 +3749,7 @@ table.wp-calendar-table caption {
|
||||
|
||||
.site-branding {
|
||||
margin-right: initial;
|
||||
margin-top: 4px;
|
||||
margin-top: calc(var(--primary-nav--padding) - 0.3em);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.7-alpha-58725';
|
||||
$wp_version = '6.7-alpha-58726';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user