From 628aec5fe2b0f7a1b988b770b8480a4082021d7c Mon Sep 17 00:00:00 2001 From: Ian Belanger Date: Mon, 30 Mar 2020 18:27:08 +0000 Subject: [PATCH] Bundled Themes: Twenty Twenty Button block forces All Capital letters - revert [47531]. Reverts [47531] to add `text-transform: uppercase;` back to button blocks. Props joyously. Fixes #49710. git-svn-id: https://develop.svn.wordpress.org/trunk@47534 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentytwenty/assets/css/editor-style-block-rtl.css | 1 + .../themes/twentytwenty/assets/css/editor-style-block.css | 1 + .../themes/twentytwenty/assets/css/editor-style-classic-rtl.css | 1 + .../themes/twentytwenty/assets/css/editor-style-classic.css | 1 + src/wp-content/themes/twentytwenty/style-rtl.css | 1 + src/wp-content/themes/twentytwenty/style.css | 1 + 6 files changed, 6 insertions(+) diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index 13d83f0530..4b3018a08d 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -899,6 +899,7 @@ hr.wp-block-separator.is-style-dots::before { letter-spacing: 0.0333em; line-height: 1.25; padding: 1.1em 1.44em; + text-transform: uppercase; } .editor-styles-wrapper .wp-block-button .wp-block-button__link.mce-content-body { diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index f7ab2338a7..55d1446f31 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -899,6 +899,7 @@ hr.wp-block-separator.is-style-dots::before { letter-spacing: 0.0333em; line-height: 1.25; padding: 1.1em 1.44em; + text-transform: uppercase; } .editor-styles-wrapper .wp-block-button .wp-block-button__link.mce-content-body { diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-classic-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-classic-rtl.css index 023dac470e..9eaf83fcb2 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-classic-rtl.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-classic-rtl.css @@ -527,6 +527,7 @@ body#tinymce.wp-editor.content input[type="submit"] { padding: 1.1em 1.44em; text-align: center; text-decoration: none; + text-transform: uppercase; } body#tinymce.wp-editor.content button:focus, diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-classic.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-classic.css index 8027d58133..564da9cd34 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-classic.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-classic.css @@ -531,6 +531,7 @@ body#tinymce.wp-editor.content input[type="submit"] { padding: 1.1em 1.44em; text-align: center; text-decoration: none; + text-transform: uppercase; } body#tinymce.wp-editor.content button:focus, diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index 68b4625d8a..99e9a47f89 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -844,6 +844,7 @@ input[type="submit"] { padding: 1.1em 1.44em; text-align: center; text-decoration: none; + text-transform: uppercase; transition: opacity 0.15s linear; } diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index 9423f71201..54fa2261fd 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -850,6 +850,7 @@ input[type="submit"] { padding: 1.1em 1.44em; text-align: center; text-decoration: none; + text-transform: uppercase; transition: opacity 0.15s linear; }