Skip to content

Commit 2bf80e6

Browse files
committed
mat dialog fix and episode details
1 parent d9f937a commit 2bf80e6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/app/episode-list/episode-list.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class EpisodeListComponent implements OnInit {
6969

7070
removeEpisode(episode: Episode) {
7171
const dialogRef = this.dialog.open(ConfirmationDialogComponent, {
72-
width: '350px',
72+
width: '365px',
7373
data: `Do you confirm the deletion of episode ${episode.name}?`
7474
});
7575
dialogRef.afterClosed().pipe(

src/app/post-details/post-details.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h6>Темы:</h6>
2828
</ul>
2929
</div>
3030

31-
<h6 *ngIf="post?.description">Темы:</h6>
31+
<h6 *ngIf="post?.description">Полезное:</h6>
3232
<p class="card-text mb-3" [innerHTML]="post?.description | linkifyWithText"></p>
3333

3434
<div class="player mb-3">
@@ -55,7 +55,7 @@ <h6> Стать патроном: <a href="http://patreon.com/automation_remarks
5555
</div>
5656
<div class="mb-3"></div>
5757
<div>
58-
<span class="item"><h6>Спасибо патронам:</h6></span>
58+
<span class="item"><h6>Нас поддерживают:</h6></span>
5959
</div>
6060
<div>
6161
<span *ngFor="let patron of patronList?.patrons" class="comma-list">{{ patron.fullName }}</span>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.mat-dialog-actions {
22
justify-content: flex-end;
3-
}
3+
}

src/app/shared/confirmation-dialog/confirmation-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
</div>
44
<div mat-dialog-actions>
55
<button class="btn btn-secondary" mat-button (click)="onNoClick()">No</button>
6-
<button class="btn btn-primary" mat-button [mat-dialog-close]="true" cdkFocusInitial>Yes</button>
6+
<button class="btn btn-danger" mat-button [mat-dialog-close]="true" cdkFocusInitial>Yes</button>
77
</div>

0 commit comments

Comments
 (0)