Merge branch 'RED-8728' into 'master'
RED-8728 & RED-8293 See merge request redactmanager/red-ui!347
This commit is contained in:
commit
b180adad32
@ -3,7 +3,7 @@
|
||||
<div [translate]="'edit-redaction.dialog.title'" class="dialog-header heading-l"></div>
|
||||
|
||||
<div class="dialog-content redaction">
|
||||
<div *ngIf="showList">
|
||||
<div class="iqser-input-group" *ngIf="showList">
|
||||
<label [translate]="'edit-redaction.dialog.content.redacted-text'" class="selected-text"></label>
|
||||
<cdk-virtual-scroll-viewport
|
||||
[itemSize]="16"
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
@use 'common-mixins';
|
||||
|
||||
cdk-virtual-scroll-viewport {
|
||||
margin-top: 8px;
|
||||
@include common-mixins.scroll-bar;
|
||||
}
|
||||
|
||||
|
||||
@ -7,18 +7,17 @@
|
||||
></div>
|
||||
|
||||
<div class="dialog-content redaction" [class.fixed-height]="isRedacted && isImage">
|
||||
<div *ngIf="!isImage">
|
||||
<label [translate]="labelTranslation"></label>
|
||||
<div *ngIf="!!redactedTexts.length && !allRectangles" class="iqser-input-group">
|
||||
<cdk-virtual-scroll-viewport
|
||||
[itemSize]="16"
|
||||
[ngStyle]="{ height: redactedTexts.length <= 5 ? 16 * redactedTexts.length + 'px' : 80 + 'px' }"
|
||||
>
|
||||
<ul *cdkVirtualFor="let text of redactedTexts">
|
||||
<li>{{ text }}</li>
|
||||
</ul>
|
||||
</cdk-virtual-scroll-viewport>
|
||||
</div>
|
||||
<div class="iqser-input-group" *ngIf="!isImage">
|
||||
<label class="selected-text" [translate]="labelTranslation"></label>
|
||||
<cdk-virtual-scroll-viewport
|
||||
*ngIf="!!redactedTexts.length && !allRectangles"
|
||||
[itemSize]="16"
|
||||
[ngStyle]="{ height: redactedTexts.length <= 5 ? 16 * redactedTexts.length + 'px' : 80 + 'px' }"
|
||||
>
|
||||
<ul *cdkVirtualFor="let text of redactedTexts">
|
||||
<li>{{ text }}</li>
|
||||
</ul>
|
||||
</cdk-virtual-scroll-viewport>
|
||||
</div>
|
||||
|
||||
<div *ngIf="!isManualRedaction" class="iqser-input-group w-450" [class.required]="!form.controls.type.disabled">
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
}
|
||||
|
||||
cdk-virtual-scroll-viewport {
|
||||
margin-top: 8px;
|
||||
@include common-mixins.scroll-bar;
|
||||
}
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit ecf9c8912e366fdcc0a454d112c0f3252245666a
|
||||
Subproject commit 292573f3b3766a2e2ffef4be6d6b702d779b259e
|
||||
Loading…
x
Reference in New Issue
Block a user