Skip to content

Commit 996581f

Browse files
committed
Refined UI
1 parent b83461f commit 996581f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/app/home/components/book-list.component.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ mat-card:hover {
1717

1818
mat-card-actions {
1919
border-bottom: 1px;
20+
visibility: hidden;
2021
}
2122

2223
mat-card {
2324
margin: 10px 5px 5px 5px;
2425
}
26+
27+
mat-card:hover mat-card-actions {
28+
visibility: visible;
29+
}

src/app/home/components/delete-book-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1 mat-dialog-title>删除 - {{ this.data.name }}</h1>
99
</div>
1010
<div mat-dialog-actions>
1111
<button mat-button (click)="onNoClick()">放弃</button>
12-
<button *ngIf="!this.data.recycled" mat-button [mat-dialog-close]="recycled">放入垃圾桶</button>
12+
<button *ngIf="!this.data.recycled" mat-button [mat-dialog-close]="recycled">放入回收站</button>
1313
<button *ngIf="this.data.recycled" color="success" mat-button [mat-dialog-close]="recoverRecycled">重新放回书架</button>
1414
<button color="warn" mat-button [mat-dialog-close]="deleteRecycled">彻底删除</button>
1515
</div>

0 commit comments

Comments
 (0)