From 44b3210a4cf15c9615b0790df7748b4d4cf9706c Mon Sep 17 00:00:00 2001 From: Kognise Date: Fri, 5 Apr 2019 13:17:18 -0400 Subject: [PATCH] Fix textarea styles --- index.html | 1 + water.css | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index d94c19b..e87912a 100644 --- a/index.html +++ b/index.html @@ -48,6 +48,7 @@ Below I'm gonna put an <hr>, because why not?


+
diff --git a/water.css b/water.css index e1e111b..a1ce38a 100644 --- a/water.css +++ b/water.css @@ -11,11 +11,14 @@ body { text-rendering: optimizeLegibility; } -button, input[type='submit'], input[type='button'], input[type='checkbox'] { +button, +input[type='submit'], +input[type='button'], +input[type='checkbox'] { cursor: pointer; } -a, button, input { +a, button, input, textarea { transition: background-color .1s linear, border-color .1s linear, color .1s linear, @@ -75,7 +78,14 @@ input, select, button, textarea { -webkit-appearance: none; } -button, input[type='submit'] { +textarea { + margin-right: 0; + width: 100%; + box-sizing: border-box; + resize: vertical; +} + +button, input[type='submit'], input[type='button'] { padding-right: 30px; padding-left: 30px; }