Skip to content

Commit

Permalink
Fix comment tooltip causing the text to go into next line
Browse files Browse the repository at this point in the history
  • Loading branch information
YX Z authored and YX Z committed Dec 22, 2023
1 parent fdfdded commit b986044
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<span class="by-response-giver text-secondary" *ngIf="isFeedbackParticipantComment">
Comment by response giver.
</span>
<span class="text-secondary" *ngIf="!isFeedbackParticipantComment">
<ng-container class="text-secondary" *ngIf="!isFeedbackParticipantComment">
<span class="comment-giver-name">{{ model.commentGiverName ? model.commentGiverName : model.originalComment.commentGiver }} commented at </span>
<span class="ngb-tooltip-class" style="margin-right: .25rem;" [ngbTooltip]="model.originalComment.createdAt | formatDateDetail: model.timezone!">
{{ model.originalComment.createdAt | formatDateBrief: model.timezone! }}</span>
Expand All @@ -28,7 +28,7 @@
<span id="last-editor-name" style="margin-right: .25rem;" class="ngb-tooltip-class"
[ngbTooltip]="model.originalComment.lastEditedAt | formatDateDetail: model.timezone!">edited by {{ model.lastEditorName ? model.lastEditorName : model.originalComment.lastEditorEmail }}</span>
</ng-container>
</span>
</ng-container>

<i class="fa fa-eye" aria-hidden="true" ngbTooltip="This response comment is visible to {{ visibilityStateMachine.getVisibilityTypesUnderVisibilityControl(CommentVisibilityControl.SHOW_COMMENT) | commentVisibilityTypesJointName }}"></i>

Expand Down

0 comments on commit b986044

Please sign in to comment.