Commit f72f734e authored by George Kalampokis's avatar George Kalampokis
Browse files

Form's auto resizable text area will no longer show the scrollbar

parent 894b358f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@
	</div>

	<mat-form-field *ngSwitchCase="datasetProfileFieldViewStyleEnum.TextArea" class="col-12">
		<textarea matInput [formControl]="form.get('value')" matTextareaAutosize matAutosizeMinRows="2" matAutosizeMaxRows="10" [required]="form.get('validationRequired').value"
		<textarea matInput class="text-area" [formControl]="form.get('value')" matTextareaAutosize matAutosizeMinRows="2" matAutosizeMaxRows="10" [required]="form.get('validationRequired').value"
		 placeholder="{{ form.get('data').value.label | translate }}"></textarea>
		<button mat-icon-button *ngIf="!form.get('value').disabled && form.get('value').value" matSuffix aria-label="Clear" (click)="this.form.patchValue({'value': ''})">
			<mat-icon>close</mat-icon>
+4 −0
Original line number Diff line number Diff line
@@ -6,4 +6,8 @@
	.full-width {
		width: 100%
	}

	.text-area {
		box-sizing: content-box;
	}
}