Convert reader image placeholder styling to vw/vh

This commit is contained in:
schroda
2025-01-20 01:29:04 +01:00
parent 7fad96dab7
commit db7aad58ec
7 changed files with 65 additions and 27 deletions

View File

@@ -77,6 +77,7 @@ const BaseReaderDoublePagedPager = ({
page,
pagesIndex,
true,
pageLoadStates[primary.index].loaded,
onLoad,
onError,
shouldLoad,
@@ -92,6 +93,7 @@ const BaseReaderDoublePagedPager = ({
{ ...page, primary: { ...page.secondary! } },
pagesIndex,
false,
pageLoadStates[secondary.index].loaded,
onLoad,
onError,
shouldLoad,

View File

@@ -38,6 +38,7 @@ const BaseReaderHorizontalPager = ({
page,
pagesIndex,
true,
pageLoadStates[page.primary.index].loaded,
onLoad,
onError,
shouldLoad,

View File

@@ -29,6 +29,7 @@ const BaseReaderPagedPager = ({
page,
pagesIndex,
true,
pageLoadStates[page.primary.index].loaded,
onLoad,
onError,
shouldLoad,

View File

@@ -35,6 +35,7 @@ const BaseReaderVerticalPager = ({
page,
pagesIndex,
true,
pageLoadStates[page.primary.index].loaded,
onLoad,
onError,
shouldLoad,