Miscellaneous styling fixes (#1374)
* Fixing up modal and cover selector * adding code for card image * fixing placeholder border * Fixing placeholder issue * Fixing drop down z-index * Updating reading list
This commit is contained in:
parent
2f48360d47
commit
e3974e64af
12 changed files with 70 additions and 50 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<div *ngIf="series !== undefined">
|
||||
<div class="modal-container" *ngIf="series !== undefined">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">
|
||||
{{this.series.name}} Details</h4>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.scrollable-modal {
|
||||
max-height: 90vh; // 600px
|
||||
max-height: calc(var(--vh) * 100 - 198px); // 600px
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
|
@ -8,4 +8,4 @@
|
|||
background-color: var(--primary-color);
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ export class CardDetailDrawerComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.imageUrls = this.chapters.map(c => this.imageService.getChapterCoverImage(c.id));
|
||||
this.isChapter = this.utilityService.isChapter(this.data);
|
||||
this.chapter = this.utilityService.isChapter(this.data) ? (this.data as Chapter) : (this.data as Volume).chapters[0];
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ $image-width: 160px;
|
|||
}
|
||||
|
||||
.image-card {
|
||||
margin: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
|
@ -18,6 +17,13 @@ $image-width: 160px;
|
|||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
.chooser {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, 158px);
|
||||
grid-gap: 0.5rem;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
ngx-file-drop ::ng-deep > div {
|
||||
// styling for the outer drop box
|
||||
width: 100%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue