From 9b69d0f71dac11e8a73f811a964ae849b009afaf Mon Sep 17 00:00:00 2001 From: Ian Belanger Date: Mon, 9 Dec 2019 15:08:16 +0000 Subject: [PATCH] Bundled Themes: Misaligned input placeholder text Twenty Twenty. This fixes placeholder misalignment in Firefox when a `height` is added as an inline style to the input field. Props aljullu, subratamal. Fixes #48876. git-svn-id: https://develop.svn.wordpress.org/trunk@46851 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index e1e1be4555..2562eb1624 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -816,7 +816,10 @@ input:-ms-input-placeholder { } input::-moz-placeholder { - line-height: normal; + /* Browsers supporting line-height revert + * to reset a property to the value established by the user-agent stylesheet + */ + line-height: revert; } input[type="search"]::-webkit-search-decoration,