Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

887 B
Raw Blame
<ng-container *ngIf="isValid()">
    <div class="image-container {{imageFitClass$ | async}} {{layoutClass$ | async}} {{emulateBookClass$ | async}}"
        [style.filter]="(darkness$ | async)  ?? '' | safeStyle"
        [ngClass]="{'center-double': (shouldRenderDouble$ | async)}">
        <ng-container *ngIf="currentImage">
            <img alt=" "
                #image [src]="currentImage.src"
                id="image-1"
                class="{{imageFitClass$ | async}} {{readerModeClass$ | async}} {{showClickOverlayClass$ | async}}"
            >
        </ng-container>
        <ng-container *ngIf="shouldRenderDouble$ | async">
            <img alt=" " [src]="currentImage2.src"
            id="image-2"
            class="image-2 {{imageFitClass$ | async}} {{readerModeClass$ | async}} {{showClickOverlayClass$ | async}}">
        </ng-container>
    </div>
</ng-container>