Fixed a rendering issue on the book reader with long absolute positioned images causing a 2 tone background color in dark book reader (#770)

This commit is contained in:
Joseph Milazzo 2021-11-18 10:59:07 -06:00 committed by GitHub
parent b76fd1db22
commit 6bbe9d7a19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions

View file

@ -111,9 +111,6 @@
<ng-container [ngTemplateOutlet]="actionBar"></ng-container>
</div>
</div>
<!-- <div *ngIf="page !== undefined && scrollbarNeeded">
<ng-container [ngTemplateOutlet]="actionBar"></ng-container>
</div> -->
<ng-template #actionBar>
<div class="reading-bar row no-gutters justify-content-between">

View file

@ -887,7 +887,7 @@ export class BookReaderComponent implements OnInit, AfterViewInit, OnDestroy {
}
getDarkModeBackgroundColor() {
return this.darkMode ? '#010409' : '#fff';
return this.darkMode ? '#292929' : '#fff';
}
setOverrideStyles() {