RED-8342 - show dot in front of the values

This commit is contained in:
Valentin Mihai 2024-05-21 17:04:29 +03:00
parent 962458fbf9
commit 0e7d234c70
3 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,8 @@
<ng-container *ngIf="!editing">
<div *ngIf="showPreview">
<div *ngIf="showPreview" class="value">
<div>
<div *ngIf="showDot" class="dot"></div>
</div>
{{ value }}
</div>

View File

@ -22,3 +22,15 @@ textarea {
form {
width: 100%;
}
.value {
display: flex;
gap: 5px;
div {
.dot {
margin-top: 3px;
position: relative;
}
}
}

View File

@ -25,6 +25,7 @@ export class EditableInputComponent implements OnChanges {
@Input() buttonsType: CircleButtonType = CircleButtonTypes.default;
@Input() helpModeKey: string = '';
@Input() lastChild = false;
@Input() showDot = false;
@Output() readonly save = new EventEmitter<string>();
parentDimensions?: { width: number; height: number };
newValue = '';