summaryrefslogtreecommitdiffstats
path: root/data/css
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-02-28 11:05:35 +0100
committerFlorian Pritz <bluewind@xinu.at>2013-02-28 11:12:53 +0100
commit10daac79846bbae460b0cc539f14e155f60a4aae (patch)
treec289b8ce7c981f7e4234a706366ef0b61b0fda22 /data/css
parentebfed171c57f4e9848b730c1d9bab6418f463514 (diff)
upload_form: Resize textarea using responsive css rather than js
This no longer resizes the textarea after the user change the size themself. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'data/css')
-rw-r--r--data/css/style.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/css/style.css b/data/css/style.css
index f1066fc7a..625ab7a06 100644
--- a/data/css/style.css
+++ b/data/css/style.css
@@ -28,6 +28,22 @@ body {
}
+.text-upload {
+ height: 200px;
+}
+
+@media (min-height: 700px) {
+ .text-upload {
+ height: 300px;
+ }
+}
+
+@media (min-height: 800px) {
+ .text-upload {
+ height: 400px;
+ }
+}
+
.error h1 {
font-size: 19px;
}