Skip to content

Commit f8b3240

Browse files
authored
Merge pull request #3139 from mfikria/cf18
Make text fields expandable in Scope form #3139
2 parents 547f792 + a602aa6 commit f8b3240

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/projects/detail/components/SpecQuestions.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ class SpecQuestions extends React.Component {
211211
case 'textbox':
212212
ChildElem = TCFormFields.Textarea
213213
elemProps.wrapperClass = 'row'
214+
elemProps.rows = 3
214215
elemProps.autoResize = true
215216
if (q.validations) {
216217
elemProps.validations = q.validations

src/projects/detail/components/SpecSection.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@
729729
max-width: 100%;
730730
text-align: left;
731731
text-indent: 0;
732-
resize: none;
732+
resize: vertical;
733733
overflow: hidden;
734734
padding-top: 7px;
735735
padding-bottom: 7px;

0 commit comments

Comments
 (0)