From 09f7209dc6f1d374931698b0a25ff713faea13bc Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sun, 10 Apr 2022 20:34:20 +0000 Subject: [PATCH] Twenty Twenty: Improve padding for `number` input type. This changes improves lateral padding for `number` input types in Twenty Twenty bundled theme. Props helgatheviking, sabernhardt, chaion07, poena, justinahinon, ugyensupport, nayana123. Fixes #53115. git-svn-id: https://develop.svn.wordpress.org/trunk@53120 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/style-rtl.css | 4 ++++ src/wp-content/themes/twentytwenty/style.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index 0e5191d247..1216a4e7cd 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -791,6 +791,10 @@ textarea { width: 100%; } +input[type="number"] { + padding-left: 0.5rem; +} + select { font-size: 1em; } diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index 27053cc3e0..6f0470bffa 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -797,6 +797,10 @@ textarea { width: 100%; } +input[type="number"] { + padding-right: 0.5rem; +} + select { font-size: 1em; }