]> git.openstreetmap.org Git - rails.git/commitdiff
Fixed comment textarea going off the sidebar, added border-radius to form fields
authorhikemaniac <31667811+hikemaniac@users.noreply.github.com>
Sun, 15 Dec 2019 15:04:29 +0000 (16:04 +0100)
committerhikemaniac <31667811+hikemaniac@users.noreply.github.com>
Sun, 15 Dec 2019 15:04:29 +0000 (16:04 +0100)
app/assets/stylesheets/common.scss

index 54fd52dd2f4c2bb6d9092796033e7cac55305678..df7eb57c7a93d49a9eeaace804a39b925d7d910f 100644 (file)
@@ -2092,6 +2092,7 @@ textarea {
   color: #222;
   background-color: #fff;
   border: 1px solid $grey;
   color: #222;
   background-color: #fff;
   border: 1px solid $grey;
+  border-radius: 3px;
   padding: 2px 5px;
   margin: 0;
   width: 200px;
   padding: 2px 5px;
   margin: 0;
   width: 200px;
@@ -2104,6 +2105,11 @@ textarea {
 textarea {
   padding: 5px;
   width: 100%;
 textarea {
   padding: 5px;
   width: 100%;
+  min-height: 50px;
+}
+
+textarea.comment {
+  resize: vertical;
 }
 
 /* Rules for user images */
 }
 
 /* Rules for user images */