From 6ae69f294a87e25b67ed06e711122cd529dd7e3e Mon Sep 17 00:00:00 2001 From: Edward-Lombe Date: Thu, 15 Jan 2015 11:13:00 +1100 Subject: [PATCH] Fixed rows attribute being ignored on textarea Specify height with CSS on a textarea makes it ignore the rows attribute. Fixed it by moving the height declaration into its own group of selectors. --- css/skeleton.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/css/skeleton.css b/css/skeleton.css index f28bf6c..e9edfc9 100644 --- a/css/skeleton.css +++ b/css/skeleton.css @@ -234,13 +234,21 @@ input[type="url"], input[type="password"], textarea, select { - height: 38px; padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */ background-color: #fff; border: 1px solid #D1D1D1; border-radius: 4px; box-shadow: none; box-sizing: border-box; } +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +select { + height: 38px; } /* Removes awkward default styles on some inputs for iOS */ input[type="email"], input[type="number"],