From ef988903b07d80a205a9c9cfd494f037eb9261fe Mon Sep 17 00:00:00 2001 From: Ian Belanger Date: Mon, 30 Mar 2020 15:18:40 +0000 Subject: [PATCH] Bundled Themes: Twenty Twenty Button block forces All Capital letters. Removes `text-transform: uppercase;` from button blocks in order to give the user the option to have a button without All Capital letters. Props mukesh27. Fixes #49710. git-svn-id: https://develop.svn.wordpress.org/trunk@47531 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 deletions(-) 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 4b3018a08d..13d83f0530 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,7 +899,6 @@ 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 55d1446f31..f7ab2338a7 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,7 +899,6 @@ 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 9eaf83fcb2..023dac470e 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,7 +527,6 @@ 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 564da9cd34..8027d58133 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,7 +531,6 @@ 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 99e9a47f89..68b4625d8a 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -844,7 +844,6 @@ 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 54fa2261fd..9423f71201 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -850,7 +850,6 @@ input[type="submit"] { padding: 1.1em 1.44em; text-align: center; text-decoration: none; - text-transform: uppercase; transition: opacity 0.15s linear; }