]> git.openstreetmap.org Git - rails.git/commitdiff
Merge pull request #2464 from hikemaniac/fix-comment-textarea
authorAndy Allan <git@gravitystorm.co.uk>
Sun, 22 Dec 2019 10:21:14 +0000 (10:21 +0000)
committerGitHub <noreply@github.com>
Sun, 22 Dec 2019 10:21:14 +0000 (10:21 +0000)
Improve textarea behaviour

app/assets/stylesheets/common.scss

index 6e73da63b31d0df9b7e7b6e18b0bee2d51948767..c3b7dca67fcd48a74b4d295990c1a55e2fe32b4f 100644 (file)
@@ -2083,6 +2083,7 @@ textarea {
   color: #222;
   background-color: #fff;
   border: 1px solid $grey;
+  border-radius: 3px;
   padding: 2px 5px;
   margin: 0;
   width: 200px;
@@ -2095,6 +2096,8 @@ textarea {
 textarea {
   padding: 5px;
   width: 100%;
+  min-height: 50px;
+  resize: vertical;
 }
 
 /* Rules for user images */