Privacy: Wrap text in buttons on privacy policy guide.

On narrow screens allow the text to wrap in the copy buttons on the privacy policy guide screen to avoid horizontal overflow of the parent container.

Props audrasjb, davidbaumwald, jaymanpandya, paaljoachim, palmiak, sabernhardt, SergeyBiryukov, sumitsingh.
Fixes #52751.

Built from https://develop.svn.wordpress.org/trunk@50568


git-svn-id: http://core.svn.wordpress.org/trunk@50181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2021-03-24 00:04:04 +00:00
parent c41990398c
commit ea83435668
5 changed files with 13 additions and 3 deletions

View File

@ -963,6 +963,11 @@ form#tags-filter {
input#create-page { input#create-page {
margin-top: 10px; margin-top: 10px;
} }
.wp-core-ui button.privacy-text-copy {
white-space: normal;
line-height: 1.8;
}
} }
@media only screen and (max-width: 1004px) { @media only screen and (max-width: 1004px) {

File diff suppressed because one or more lines are too long

View File

@ -962,6 +962,11 @@ form#tags-filter {
input#create-page { input#create-page {
margin-top: 10px; margin-top: 10px;
} }
.wp-core-ui button.privacy-text-copy {
white-space: normal;
line-height: 1.8;
}
} }
@media only screen and (max-width: 1004px) { @media only screen and (max-width: 1004px) {

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.8-alpha-50567'; $wp_version = '5.8-alpha-50568';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.