Fixed textarea resize bug

This commit is contained in:
apapachristou 2019-05-29 16:17:47 +03:00
parent 5f6224210b
commit 59c347f88c
3 changed files with 8 additions and 6 deletions

View File

@ -15,11 +15,13 @@
<mat-form-field class="col-8">
<textarea matInput class="description-area"
placeholder="{{'DMP-EDITOR.FIELDS.DESCRIPTION' | translate}}" formControlName="description">
</textarea>
</textarea>
<!-- <mat-error *ngIf="formGroup.get('description').hasError('backendError')">
{{formGroup.get('description').getError('backendError').message}}</mat-error>
<mat-error *ngIf="formGroup.get('description').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' |
translate}}</mat-error> -->
{{formGroup.get('description').getError('backendError').message}}
</mat-error>
<mat-error *ngIf="formGroup.get('description').hasError('required')">
{{'GENERAL.VALIDATION.REQUIRED' | translate}}
</mat-error> -->
</mat-form-field>
</div>
<div class="row">

View File

@ -6,7 +6,7 @@
}
.input-btn :hover {
color: #4687f0 !important;
color: #4687f0 !important;
}
// .icon-btn {

View File

@ -306,7 +306,7 @@ select {
}
textarea{
height: auto !important;
// height: auto !important;
resize: none;
line-height: $bmd-line-height !important;
}