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,6 +1678,7 @@ function wp_try_gutenberg_panel() {
</div>
<div class="try-gutenberg-panel-column plugin-card-gutenberg">
<div>
<h3><?php _e( 'Test the new editor today.' ); ?></h3>
<p>
@ -1692,6 +1693,7 @@ function wp_try_gutenberg_panel() {
);
?>
</p>
</div>
<?php if ( $action ) { ?>
<div class="try-gutenberg-action">
@ -1711,6 +1713,7 @@ function wp_try_gutenberg_panel() {
<div class="try-gutenberg-panel-column plugin-card-classic-editor">
<div>
<h3><?php _e( 'Not quite ready?' ); ?></h3>
<p>
@ -1723,6 +1726,7 @@ function wp_try_gutenberg_panel() {
);
?>
</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.