From 040baf5b820bb551dbee7a6fa238304b9f9ced4d Mon Sep 17 00:00:00 2001 From: Matthew Taylor Date: Tue, 31 Oct 2017 08:26:52 -0400 Subject: [PATCH] Add a larger width on small inputs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #131 – I ended up deciding to do this for all inputs because the original `3rem` makes it cut off text past 1 char for any input that is only `3rem`, so `3.5rem` seemed like an okay width for this component. --- src/components/forms/input.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/forms/input.css b/src/components/forms/input.css index 6fba0c59..2de380f4 100644 --- a/src/components/forms/input.css +++ b/src/components/forms/input.css @@ -41,6 +41,6 @@ See https://github.com/LLK/scratch-paint/issues/13 */ } .input-small { - width: 3rem; + width: 3.5rem; text-align: center; }