Dashboard: Improve "Try Gutenberg" subheading appearance for long headings.

When translated, the callout subheadings can wrap onto a new line, which caused them to overlap the paragraph text.

Props earnjam, fierevere.
Fixes #44611.


Built from https://develop.svn.wordpress.org/branches/4.9@43523


git-svn-id: http://core.svn.wordpress.org/branches/4.9@43352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2018-07-24 03:05:26 +00:00
parent a9ea4a1f7d
commit b20bfba009
6 changed files with 35 additions and 31 deletions

View File

@ -235,8 +235,8 @@
.try-gutenberg-panel .try-gutenberg-panel-column:not(.try-gutenberg-panel-image-column) {
display: -ms-grid;
display: grid;
-ms-grid-rows: 45px auto 100px;
grid-template-rows: 45px auto 100px;
-ms-grid-rows: auto 100px;
grid-template-rows: auto 100px;
}
.welcome-panel-column p.hide-if-no-customize {

File diff suppressed because one or more lines are too long

View File

@ -235,8 +235,8 @@
.try-gutenberg-panel .try-gutenberg-panel-column:not(.try-gutenberg-panel-image-column) {
display: -ms-grid;
display: grid;
-ms-grid-rows: 45px auto 100px;
grid-template-rows: 45px auto 100px;
-ms-grid-rows: auto 100px;
grid-template-rows: auto 100px;
}
.welcome-panel-column p.hide-if-no-customize {

File diff suppressed because one or more lines are too long

View File

@ -1678,20 +1678,22 @@ function wp_try_gutenberg_panel() {
</div>
<div class="try-gutenberg-panel-column plugin-card-gutenberg">
<h3><?php _e( 'Test the new editor today.' ); ?></h3>
<div>
<h3><?php _e( 'Test the new editor today.' ); ?></h3>
<p>
<?php _e( "You can take Gutenberg for a spin (and share your feedback, if youd like) before we officially release it, by installing it as a plugin." ); ?>
<?php
printf(
/* translators: 1: Gutenberg call for testing handbook link, 2: Gutenberg GitHub repository issues link, 3: Gutenberg GitHub repository CONTRIBUTING.md link */
__( 'You can help by <a href="%1$s">testing</a>, <a href="%2$s">filing bugs</a>, or contributing on the <a href="%3$s">GitHub repository</a>.' ),
'https://make.wordpress.org/test/handbook/call-for-testing/gutenberg-testing/',
'https://github.com/WordPress/gutenberg/issues',
'https://github.com/WordPress/gutenberg/blob/master/CONTRIBUTING.md'
);
?>
</p>
<p>
<?php _e( "You can take Gutenberg for a spin (and share your feedback, if youd like) before we officially release it, by installing it as a plugin." ); ?>
<?php
printf(
/* translators: 1: Gutenberg call for testing handbook link, 2: Gutenberg GitHub repository issues link, 3: Gutenberg GitHub repository CONTRIBUTING.md link */
__( 'You can help by <a href="%1$s">testing</a>, <a href="%2$s">filing bugs</a>, or contributing on the <a href="%3$s">GitHub repository</a>.' ),
'https://make.wordpress.org/test/handbook/call-for-testing/gutenberg-testing/',
'https://github.com/WordPress/gutenberg/issues',
'https://github.com/WordPress/gutenberg/blob/master/CONTRIBUTING.md'
);
?>
</p>
</div>
<?php if ( $action ) { ?>
<div class="try-gutenberg-action">
@ -1711,18 +1713,20 @@ function wp_try_gutenberg_panel() {
<div class="try-gutenberg-panel-column plugin-card-classic-editor">
<h3><?php _e( 'Not quite ready?' ); ?></h3>
<div>
<h3><?php _e( 'Not quite ready?' ); ?></h3>
<p>
<?php _e( 'The new editor will be enabled by default in the next major release of WordPress. If youre not sure how compatible your current themes and plugins are, weve got you covered.' ); ?>
<?php
printf(
/* translators: Link to the Classic Editor plugin page */
__( 'Install the <a href="%s">Classic Editor plugin</a> to keep using the current editor until youre ready to make the switch.' ),
__( 'https://wordpress.org/plugins/classic-editor' )
);
?>
</p>
<p>
<?php _e( 'The new editor will be enabled by default in the next major release of WordPress. If youre not sure how compatible your current themes and plugins are, weve got you covered.' ); ?>
<?php
printf(
/* translators: Link to the Classic Editor plugin page */
__( 'Install the <a href="%s">Classic Editor plugin</a> to keep using the current editor until youre ready to make the switch.' ),
__( 'https://wordpress.org/plugins/classic-editor' )
);
?>
</p>
</div>
<?php if ( $classic_action ) { ?>
<div class="try-gutenberg-action">

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9.8-beta2-43522';
$wp_version = '4.9.8-beta2-43523';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.