RED-9012: style adjustments to the edit selected value feature.
This commit is contained in:
parent
b31bb1c893
commit
d0e6f325c4
@ -25,16 +25,14 @@
|
||||
[ngStyle]="{ width: maximumTextAreaWidth + 'px' }"
|
||||
formControlName="selectedText"
|
||||
iqserHasScrollbar
|
||||
name="comment"
|
||||
name="value"
|
||||
type="text"
|
||||
></textarea>
|
||||
|
||||
<iqser-circle-button
|
||||
(action)="toggleEditingSelectedText()"
|
||||
*ngIf="dictionaryRequest"
|
||||
[showDot]="initialText !== form.get('selectedText').value && !isEditingSelectedText"
|
||||
*ngIf="dictionaryRequest && !isEditingSelectedText"
|
||||
[tooltip]="'redact-text.dialog.content.edit-text' | translate"
|
||||
[type]="isEditingSelectedText ? 'dark' : 'default'"
|
||||
[size]="18"
|
||||
[iconSize]="13"
|
||||
icon="iqser:edit"
|
||||
@ -42,12 +40,13 @@
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
(action)="undoTextChange()"
|
||||
(action)="undoTextChange(); toggleEditingSelectedText()"
|
||||
*ngIf="isEditingSelectedText"
|
||||
[showDot]="initialText !== form.get('selectedText').value"
|
||||
[tooltip]="'redact-text.dialog.content.revert-text' | translate"
|
||||
[size]="18"
|
||||
[iconSize]="13"
|
||||
class="undo-button"
|
||||
icon="red:undo"
|
||||
tooltipPosition="below"
|
||||
></iqser-circle-button>
|
||||
|
||||
@ -14,7 +14,11 @@
|
||||
}
|
||||
|
||||
iqser-circle-button {
|
||||
padding-left: 8px;
|
||||
padding-left: 10px;
|
||||
|
||||
&.undo-button {
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.w-full {
|
||||
@ -25,8 +29,10 @@ iqser-circle-button {
|
||||
min-height: 36px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
textarea[name='value'] {
|
||||
margin-top: 0;
|
||||
min-height: 0;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.table {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user