@if (HasCoverImage) {
-
-
+
} @else {
-
+
+
+
}
diff --git a/UI/Web/src/app/shared/person-badge/person-badge.component.scss b/UI/Web/src/app/shared/person-badge/person-badge.component.scss
index 4e7e7d1a8..4679209bf 100644
--- a/UI/Web/src/app/shared/person-badge/person-badge.component.scss
+++ b/UI/Web/src/app/shared/person-badge/person-badge.component.scss
@@ -7,11 +7,11 @@
font-size: .8rem;
display: inline-block;
cursor: pointer;
- width: 100px;
+ width: 120px;
word-break: break-word;
i {
- font-size: 2rem;
+ font-size: 2.96rem;
font-weight: bold;
cursor: pointer;
}
diff --git a/UI/Web/src/app/user-settings/manage-devices/manage-devices.component.ts b/UI/Web/src/app/user-settings/manage-devices/manage-devices.component.ts
index f64d859f2..582453427 100644
--- a/UI/Web/src/app/user-settings/manage-devices/manage-devices.component.ts
+++ b/UI/Web/src/app/user-settings/manage-devices/manage-devices.component.ts
@@ -19,6 +19,7 @@ import {ScrobbleEventTypePipe} from "../../_pipes/scrobble-event-type.pipe";
import {SortableHeader} from "../../_single-module/table/_directives/sortable-header.directive";
import {UtcToLocalTimePipe} from "../../_pipes/utc-to-local-time.pipe";
import {EditDeviceModalComponent} from "../_modals/edit-device-modal/edit-device-modal.component";
+import {DefaultModalOptions} from "../../_models/default-modal-options";
@Component({
selector: 'app-manage-devices',
@@ -71,7 +72,7 @@ export class ManageDevicesComponent implements OnInit {
}
addDevice() {
- const ref = this.modalService.open(EditDeviceModalComponent, { scrollable: true, size: 'xl', fullscreen: 'md' });
+ const ref = this.modalService.open(EditDeviceModalComponent, DefaultModalOptions);
ref.componentInstance.device = null;
ref.closed.subscribe((result: Device | null) => {
@@ -82,7 +83,7 @@ export class ManageDevicesComponent implements OnInit {
}
editDevice(device: Device) {
- const ref = this.modalService.open(EditDeviceModalComponent, { scrollable: true, size: 'xl', fullscreen: 'md' });
+ const ref = this.modalService.open(EditDeviceModalComponent, DefaultModalOptions);
ref.componentInstance.device = device;
ref.closed.subscribe((result: Device | null) => {
diff --git a/UI/Web/src/app/user-settings/theme-manager/theme-manager.component.ts b/UI/Web/src/app/user-settings/theme-manager/theme-manager.component.ts
index b70831c53..561068404 100644
--- a/UI/Web/src/app/user-settings/theme-manager/theme-manager.component.ts
+++ b/UI/Web/src/app/user-settings/theme-manager/theme-manager.component.ts
@@ -31,6 +31,7 @@ import {Select2Module} from "ng-select2-component";
import {LoadingComponent} from "../../shared/loading/loading.component";
import {NgbModal} from "@ng-bootstrap/ng-bootstrap";
import {PreviewImageModalComponent} from "../../shared/_components/carousel-modal/preview-image-modal.component";
+import {DefaultModalOptions} from "../../_models/default-modal-options";
interface ThemeContainer {
downloadable?: DownloadableSiteTheme;
@@ -191,7 +192,7 @@ export class ThemeManagerComponent {
previewImage(imgUrl: string) {
if (imgUrl === '') return;
- const ref = this.modalService.open(PreviewImageModalComponent, {size: 'xl', fullscreen: 'lg'});
+ const ref = this.modalService.open(PreviewImageModalComponent, DefaultModalOptions);
ref.componentInstance.title = this.selectedTheme!.name;
ref.componentInstance.image = imgUrl;
}
diff --git a/UI/Web/src/app/volume-detail/volume-detail.component.ts b/UI/Web/src/app/volume-detail/volume-detail.component.ts
index 859247946..fb11c93e1 100644
--- a/UI/Web/src/app/volume-detail/volume-detail.component.ts
+++ b/UI/Web/src/app/volume-detail/volume-detail.component.ts
@@ -88,6 +88,7 @@ import {BulkOperationsComponent} from "../cards/bulk-operations/bulk-operations.
import {DefaultDatePipe} from "../_pipes/default-date.pipe";
import {MangaFormatPipe} from "../_pipes/manga-format.pipe";
import {CoverImageComponent} from "../_single-module/cover-image/cover-image.component";
+import {DefaultModalOptions} from "../_models/default-modal-options";
enum TabID {
@@ -527,7 +528,7 @@ export class VolumeDetailComponent implements OnInit {
}
openEditModal() {
- const ref = this.modalService.open(EditVolumeModalComponent, { size: 'xl' });
+ const ref = this.modalService.open(EditVolumeModalComponent, DefaultModalOptions);
ref.componentInstance.volume = this.volume;
ref.componentInstance.libraryType = this.libraryType;
ref.componentInstance.libraryId = this.libraryId;
@@ -537,7 +538,7 @@ export class VolumeDetailComponent implements OnInit {
}
openEditChapterModal(chapter: Chapter) {
- const ref = this.modalService.open(EditChapterModalComponent, { size: 'xl' });
+ const ref = this.modalService.open(EditChapterModalComponent, DefaultModalOptions);
ref.componentInstance.chapter = chapter;
ref.componentInstance.libraryType = this.libraryType;
ref.componentInstance.libraryId = this.libraryId;