RED-7584: Removed padding and greyed out disabled select.

This commit is contained in:
Nicoleta Panaghiu 2023-09-25 17:19:19 +03:00
parent 6d3ba94b74
commit 37b5b9f6d7
3 changed files with 9 additions and 3 deletions

View File

@ -9,12 +9,12 @@
<ng-container *ngIf="!redaction.isImage && !redaction.rectangle">
<div class="iqser-input-group w-450">
<label [translate]="'resize-redaction.dialog.content.original-text'" class="selected-text"></label>
<span class="pl-20">{{ redaction.value }}</span>
<span>{{ redaction.value }}</span>
</div>
<div class="iqser-input-group w-450">
<label [translate]="'resize-redaction.dialog.content.resized-text'" class="selected-text"></label>
<span class="pl-20">{{ data.text }}</span>
<span>{{ data.text }}</span>
</div>
</ng-container>
@ -25,7 +25,7 @@
<mat-form-field>
<mat-select formControlName="dictionary">
<mat-select-trigger>{{ displayedDictionaryLabel }}</mat-select-trigger>
<mat-select-trigger class="disabled">{{ displayedDictionaryLabel }}</mat-select-trigger>
<mat-option [value]="redaction.entity.type">
<span> {{ redaction.entity.label }} </span>
</mat-option>

View File

@ -0,0 +1,5 @@
::ng-deep span.mat-mdc-select-value-text {
.disabled {
color: var(--iqser-grey-3);
}
}

View File

@ -9,6 +9,7 @@ import { ResizeRedactionData, ResizeRedactionResult } from '../../utils/dialog-t
@Component({
templateUrl: './resize-redaction-dialog.component.html',
styleUrls: ['./resize-redaction-dialog.component.scss'],
})
export class ResizeRedactionDialogComponent
extends IqserDialogComponent<ResizeRedactionDialogComponent, ResizeRedactionData, ResizeRedactionResult>