[Forms] Add style for small textareas
Issue #1184. This allows for a generically sized text area in forms. I am anticipating some potential feedback on this given the approach and the sizing I chose may or may not be ideal for your requirements.
This commit is contained in:
@@ -216,6 +216,7 @@ input[type="search"] {
|
|||||||
.l-input-lg input[type="text"] { width: 100% !important; }
|
.l-input-lg input[type="text"] { width: 100% !important; }
|
||||||
.l-input-med input[type="text"] { width: 200px !important; }
|
.l-input-med input[type="text"] { width: 200px !important; }
|
||||||
.l-input-sm input[type="text"] { width: 50px !important; }
|
.l-input-sm input[type="text"] { width: 50px !important; }
|
||||||
|
.l-textarea-sm textarea { position: relative; height: 50px; }
|
||||||
.l-numeric input[type="text"] { text-align: right; }
|
.l-numeric input[type="text"] { text-align: right; }
|
||||||
|
|
||||||
.input-labeled {
|
.input-labeled {
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ define([
|
|||||||
"property": "notes",
|
"property": "notes",
|
||||||
"control": "textarea",
|
"control": "textarea",
|
||||||
"required": false,
|
"required": false,
|
||||||
"cssclass": "field-notes"
|
"cssclass": "l-textarea-sm"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user