fix(reader): inset foliate-view between chrome bars and remove base typography
- Position foliate-view with absolute inset-x-0 top-[52px] bottom-[52px] so book content renders between the fixed header and footer bars instead of behind them - Confirmed removal of foliate-themes.css base typography was correct: body color now comes from chrome theme's --text-primary (light for dark chrome themes like tokyo-night)
This commit is contained in:
@@ -43,7 +43,7 @@ templ Reader(user User, metadata ReaderMetadata, progress ReadingProgress, bookm
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<foliate-view id="reader-view" class="block w-full h-full"></foliate-view>
|
||||
<foliate-view id="reader-view" class="absolute inset-x-0 top-[52px] bottom-[52px]"></foliate-view>
|
||||
@DictionaryPopup()
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user