Twenty Twenty-One: Adapt vertical buttons to text length.

Display vertically aligned buttons as inline elements.

Props poena, paaljoachim, hellofromTonya, jeroenrotty, rolfsiebers.
Fixes #52432.


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


git-svn-id: http://core.svn.wordpress.org/trunk@49906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2021-02-09 03:44:06 +00:00
parent 165413db2b
commit 2ffff78f51
7 changed files with 1 additions and 17 deletions

View File

@ -391,7 +391,6 @@ a:hover {
border: 3px solid transparent;
border-radius: 0;
cursor: pointer;
display: block;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.25rem;
@ -889,7 +888,6 @@ a:hover {
border: 3px solid transparent;
border-radius: 0;
cursor: pointer;
display: block;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.25rem;
@ -2312,7 +2310,6 @@ pre.wp-block-preformatted {
border: 3px solid transparent;
border-radius: 0;
cursor: pointer;
display: block;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.25rem;

View File

@ -2247,7 +2247,6 @@ a:hover {
border: 3px solid transparent;
border-radius: 0;
cursor: pointer;
display: block;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.25rem;
@ -2260,7 +2259,6 @@ button {
border: 3px solid transparent;
border-radius: 0;
cursor: pointer;
display: block;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.25rem;
@ -2273,7 +2271,6 @@ input[type=submit] {
border: 3px solid transparent;
border-radius: 0;
cursor: pointer;
display: block;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.25rem;
@ -2286,7 +2283,6 @@ input[type=reset] {
border: 3px solid transparent;
border-radius: 0;
cursor: pointer;
display: block;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.25rem;
@ -2299,7 +2295,6 @@ input[type=reset] {
border: 3px solid transparent;
border-radius: 0;
cursor: pointer;
display: block;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.25rem;
@ -2312,7 +2307,6 @@ input[type=reset] {
border: 3px solid transparent;
border-radius: 0;
cursor: pointer;
display: block;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.25rem;
@ -2325,7 +2319,6 @@ input[type=reset] {
border: 3px solid transparent;
border-radius: 0;
cursor: pointer;
display: block;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.25rem;

View File

@ -531,7 +531,6 @@ a:hover {
border: var(--button--border-width) solid transparent;
border-radius: var(--button--border-radius);
cursor: pointer;
display: block;
font-weight: var(--button--font-weight);
font-family: var(--button--font-family);
font-size: var(--button--font-size);
@ -883,7 +882,6 @@ a:hover {
border: var(--button--border-width) solid transparent;
border-radius: var(--button--border-radius);
cursor: pointer;
display: block;
font-weight: var(--button--font-weight);
font-family: var(--button--font-family);
font-size: var(--button--font-size);
@ -1822,7 +1820,6 @@ pre.wp-block-preformatted {
border: var(--button--border-width) solid transparent;
border-radius: var(--button--border-radius);
cursor: pointer;
display: block;
font-weight: var(--button--font-weight);
font-family: var(--button--font-family);
font-size: var(--button--font-size);

View File

@ -23,7 +23,6 @@
border: var(--button--border-width) solid transparent;
border-radius: var(--button--border-radius);
cursor: pointer;
display: block;
font-weight: var(--button--font-weight);
font-family: var(--button--font-family);
font-size: var(--button--font-size);

View File

@ -1718,7 +1718,6 @@ input[type=reset],
border: var(--button--border-width) solid transparent;
border-radius: var(--button--border-radius);
cursor: pointer;
display: block;
font-weight: var(--button--font-weight);
font-family: var(--button--font-family);
font-size: var(--button--font-size);

View File

@ -1728,7 +1728,6 @@ input[type=reset],
border: var(--button--border-width) solid transparent;
border-radius: var(--button--border-radius);
cursor: pointer;
display: block;
font-weight: var(--button--font-weight);
font-family: var(--button--font-family);
font-size: var(--button--font-size);

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-beta1-50260';
$wp_version = '5.7-beta1-50261';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.