Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix timeline-header css #1206

Merged
merged 2 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ <h3 class="mat-title">Disputes</h3>
<form [formGroup]="tutorResponseForm" #tutorForm="ngForm" (ngSubmit)="submitTutorResponseForm(tutorForm)">
<div class="timeline-comment">
<div class="timeline-header">
<span style="vertical-align: middle; margin-left: 5px"> Post your response here. </span>
<span> Post your response here. </span>
<button mat-button style="float: right" *ngIf="!isEditing" (click)="changeToEditMode()">Edit</button>
</div>
<div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<form [formGroup]="newTeamResponseForm" #myForm="ngForm" (ngSubmit)="submitNewTeamResponse(myForm)">
<div class="timeline-comment">
<div class="timeline-header">
<span style="vertical-align: middle; margin-left: 5px"> Post your team's response here. </span>
<span> Post your team's response here. </span>
</div>

<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
color: #586069;
height: 35px;
padding: 5px 10px;
display: flex;
align-items: center;
justify-content: space-between;
}

.timeline-comment {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ <h3 class="mat-title">Tester's Response</h3>
<form [formGroup]="testerResponseForm" (ngSubmit)="submitTesterResponseForm()">
<div class="timeline-comment">
<div class="timeline-header">
<span style="vertical-align: middle; margin-left: 5px" *ngIf="this.isNewResponse()"> Please verify the following item(s). </span>
<span style="vertical-align: middle; margin-left: 5px" *ngIf="!this.isNewResponse()"> <strong>Tester</strong> responded. </span>
<span *ngIf="this.isNewResponse()"> Please verify the following item(s). </span>
<span *ngIf="!this.isNewResponse()"> <strong>Tester</strong> responded. </span>
<button mat-button style="float: right" *ngIf="!isEditing" (click)="changeToEditMode()">Edit</button>
</div>
<div>
Expand Down
4 changes: 4 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ body {
color: #586069;
height: 35px;
padding: 5px;
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 10px;
}

.timeline-comment {
Expand Down
Loading