summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/views/file/upload_form.php2
-rw-r--r--data/css/style.css6
2 files changed, 4 insertions, 4 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index b3e405173..a977aaa92 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -4,7 +4,7 @@
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 text-upload-form">
<?php echo form_open_multipart('file/do_paste'); ?>
<h2>Text paste</h2>
- <textarea name="content" class="form-control" rows="15"><?php
+ <textarea name="content" class="form-control text-upload"><?php
if (isset($textarea_content)) {
echo $textarea_content;
}
diff --git a/data/css/style.css b/data/css/style.css
index 62132f35d..b7a4b5143 100644
--- a/data/css/style.css
+++ b/data/css/style.css
@@ -90,18 +90,18 @@
}
}
-.text-upload {
+textarea.text-upload {
height: 200px;
}
@media (min-height: 700px) {
- .text-upload {
+ textarea.text-upload {
height: 300px;
}
}
@media (min-height: 800px) {
- .text-upload {
+ textarea.text-upload {
height: 400px;
}
}