Webtoon Polish Part 2 (#739)
* Change css scoping to be on the book content itself only to prevent any leaking on the reading section code. Apply a margin so that book margins on the whole content doesn't show black lines. * Take out debug outline on webtoon reader * Removed some imports * Fixed an issue where when restoring current page in webtoon mode, the page number would jump forward * Last page on webtoon reader now properly counts. This was due to a - 1 issue fixing previous issues. * Fixed an issue where scrollToPage (from progress bar or go to page) wouldn't work if the page somehow was visible. * Ready for testing on beta users
This commit is contained in:
parent
336283be6e
commit
094c12d43d
5 changed files with 40 additions and 34 deletions
|
|
@ -100,7 +100,7 @@
|
|||
</div>
|
||||
|
||||
<div #readingSection class="reading-section" [ngStyle]="{'padding-top': topOffset + 20 + 'px'}" [@isLoading]="isLoading ? true : false" (click)="handleReaderClick($event)">
|
||||
<div #readingHtml class="book-content" [ngStyle]="{'padding-bottom': topOffset + 20 + 'px'}" [innerHtml]="page" *ngIf="page !== undefined"></div>
|
||||
<div #readingHtml class="book-content" [ngStyle]="{'padding-bottom': topOffset + 20 + 'px', 'margin': '0px 0px'}" [innerHtml]="page" *ngIf="page !== undefined"></div>
|
||||
|
||||
<div class="left {{clickOverlayClass('left')}} no-observe" (click)="prevPage()" *ngIf="clickToPaginate">
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue