Fix no rounded window in reader page on Linux, closes #107 (#110)

This commit is contained in:
Huang Xin 2025-01-05 15:50:12 +01:00 committed by GitHub
parent 57b72d6d57
commit ca56c5a73d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ const BooksGrid: React.FC<BooksGridProps> = ({ bookKeys, onCloseBook }) => {
<div
id={`gridcell-${bookKey}`}
key={bookKey}
className='relative h-full w-full overflow-hidden'
className='relative h-full w-full rounded-window overflow-hidden'
>
{isBookmarked && <Ribbon width={marginGap} />}
<HeaderBar

View file

@ -33,7 +33,7 @@ const Reader: React.FC<{ ids?: string }> = ({ ids }) => {
return (
library.length > 0 &&
settings.globalReadSettings && (
<div className='reader-page bg-base-100 text-base-content min-h-screen select-none'>
<div className='reader-page rounded-window bg-base-100 text-base-content min-h-screen select-none'>
<Suspense>
<ReaderContent ids={ids} settings={settings} />
<AboutWindow />