From b631b4c0e5e5e21d3f4b6797b68729ee72617fac Mon Sep 17 00:00:00 2001 From: Ivan Date: Sun, 24 Jan 2016 10:53:19 +0300 Subject: [PATCH] set "resize: vertical" as default for textarea --- app/assets/stylesheets/forms.scss | 4 ++++ app/assets/stylesheets/mobile/mobile.scss | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/assets/stylesheets/forms.scss b/app/assets/stylesheets/forms.scss index 6e72e00c2..98a02a623 100644 --- a/app/assets/stylesheets/forms.scss +++ b/app/assets/stylesheets/forms.scss @@ -20,6 +20,10 @@ textarea { } // scss-lint:enable QualifyingElement +textarea { + resize: vertical; +} + // Forms described here are only used on the public pages at the moment .block-form { margin: 20px auto; diff --git a/app/assets/stylesheets/mobile/mobile.scss b/app/assets/stylesheets/mobile/mobile.scss index c98613dbf..2513bfede 100644 --- a/app/assets/stylesheets/mobile/mobile.scss +++ b/app/assets/stylesheets/mobile/mobile.scss @@ -32,6 +32,10 @@ body { padding: 0; } +textarea { + resize: vertical; +} + h3 { margin-top: 0; } .clear { clear: both; } #main { padding: 56px 10px 0 10px; }