Remove reader webtoon mode page gaps (#552)

Regression introduced with 199b62341f
This commit is contained in:
schroda
2024-01-15 14:27:29 +01:00
committed by GitHub
parent 738a22233b
commit 38b364bb55

View File

@@ -81,7 +81,7 @@ export function SpinnerImage(props: IProps) {
)} )}
<img <img
key={`${src}_${imgLoadRetryKey}`} key={`${src}_${imgLoadRetryKey}`}
style={{ ...imgStyle, display: isLoading || hasError ? 'none' : undefined }} style={{ ...imgStyle, display: isLoading || hasError ? 'none' : imgStyle?.display }}
ref={imgRef} ref={imgRef}
src={src} src={src}
alt={alt} alt={alt}