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

View File

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

View File

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