diff --git a/core/profiles/demo_umami/themes/umami/css/base.css b/core/profiles/demo_umami/themes/umami/css/base.css index c061c08312..d30a770469 100644 --- a/core/profiles/demo_umami/themes/umami/css/base.css +++ b/core/profiles/demo_umami/themes/umami/css/base.css @@ -281,6 +281,14 @@ optgroup { line-height: normal; } +/** + * Prevent regression due to -webkit-appearance being set to button in + * normalize.css 4.1.0. + */ +::-webkit-file-upload-button { + -webkit-appearance: push-button; +} + ul, ol { margin-bottom: 1.28rem; diff --git a/core/themes/bartik/css/components/form.css b/core/themes/bartik/css/components/form.css index 7eaec6dd13..42a132138b 100644 --- a/core/themes/bartik/css/components/form.css +++ b/core/themes/bartik/css/components/form.css @@ -100,6 +100,14 @@ input, button{ line-height: 1.21875rem; } +/** + * Prevent regression due to -webkit-appearance being set to button in + * normalize.css 4.1.0. + */ +::-webkit-file-upload-button { + -webkit-appearance: push-button; +} + /** * Make the font slightly bigger in mobile * @todo: check the correct font-size diff --git a/core/themes/claro/css/components/form.css b/core/themes/claro/css/components/form.css index 66e38150c9..50636aba31 100644 --- a/core/themes/claro/css/components/form.css +++ b/core/themes/claro/css/components/form.css @@ -282,7 +282,7 @@ tr .form-item, } /** - * Prevent regression due to explicit line-height applied to these elements in + * Prevent regression due to explicit line-heights applied to these elements in * normalize.css 7.0.0. */ @@ -293,3 +293,12 @@ button { input, optgroup { line-height: 1.5rem; } + +/** + * Prevent regression due to -webkit-appearance being set to button in + * normalize.css 4.1.0. + */ + +::-webkit-file-upload-button { + -webkit-appearance: push-button; +} diff --git a/core/themes/claro/css/components/form.pcss.css b/core/themes/claro/css/components/form.pcss.css index 967cc646f9..853cf9113c 100644 --- a/core/themes/claro/css/components/form.pcss.css +++ b/core/themes/claro/css/components/form.pcss.css @@ -200,7 +200,7 @@ tr .form-item, } /** - * Prevent regression due to explicit line-height applied to these elements in + * Prevent regression due to explicit line-heights applied to these elements in * normalize.css 7.0.0. */ button { @@ -209,3 +209,11 @@ button { input, optgroup { line-height: 1.5rem; } + +/** + * Prevent regression due to -webkit-appearance being set to button in + * normalize.css 4.1.0. + */ +::-webkit-file-upload-button { + -webkit-appearance: push-button; +} diff --git a/core/themes/seven/css/components/form.css b/core/themes/seven/css/components/form.css index 2c269e72bb..0e283dee4b 100644 --- a/core/themes/seven/css/components/form.css +++ b/core/themes/seven/css/components/form.css @@ -378,3 +378,11 @@ textarea { select { font-size: 0.8125rem; } + +/** + * Prevent regression due to -webkit-appearance being set to button in + * normalize.css 4.1.0. + */ +::-webkit-file-upload-button { + -webkit-appearance: push-button; +}