Activate scrollbar on text and richtext widget and limit resize to vertical
The minimal height is set to 5 lines and maximal to 20 lines. Closes #12921
This commit is contained in:
+11
-7
@@ -781,18 +781,18 @@ img.icon {
|
||||
}
|
||||
}
|
||||
.form-text, .form-richtext {
|
||||
> textarea {
|
||||
min-height: 150px;
|
||||
max-height: 300px;
|
||||
> textarea, .richtext {
|
||||
line-height: 2.5ex;
|
||||
max-height: 50ex;
|
||||
min-height: 12.5ex;
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
}
|
||||
}
|
||||
.form-richtext {
|
||||
> .btn-toolbar {
|
||||
min-width: 450px;
|
||||
}
|
||||
.richtext {
|
||||
min-height: 5em;
|
||||
}
|
||||
}
|
||||
.form-separator {
|
||||
label {
|
||||
@@ -987,7 +987,11 @@ input.column-boolean {
|
||||
|
||||
.email {
|
||||
.email-richtext {
|
||||
min-height: 10em;
|
||||
line-height: 2.5ex;
|
||||
max-height: 50ex;
|
||||
min-height: 12.5ex;
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
}
|
||||
input[type='file'] {
|
||||
display: inline-block;
|
||||
|
||||
Reference in New Issue
Block a user