fix(web reader): first/last display to full height in double pages mode

This commit is contained in:
Gauthier Roebroeck 2020-01-15 10:23:31 +08:00
parent 722773671f
commit a7548e298a

View file

@ -35,7 +35,7 @@
<div :class="`d-flex flex-row${rtl ? '-reverse' : ''} justify-center`">
<v-img :src="getPageUrl(p)"
:max-height="maxHeight"
:max-width="$vuetify.breakpoint.width / (doublePages ? 2 : 1)"
:max-width="$vuetify.breakpoint.width / (doublePages && p !== 1 && p !== pagesCount ? 2 : 1)"
:contain="true"
:eager="eagerLoad(p)"
>