diff --git a/kolibri/plugins/epub_viewer/assets/src/views/EpubRendererIndex.vue b/kolibri/plugins/epub_viewer/assets/src/views/EpubRendererIndex.vue index cc3142c280..1c76ab01d3 100644 --- a/kolibri/plugins/epub_viewer/assets/src/views/EpubRendererIndex.vue +++ b/kolibri/plugins/epub_viewer/assets/src/views/EpubRendererIndex.vue @@ -177,7 +177,7 @@ import FocusLock from 'vue-focus-lock'; import CoreFullscreen from 'kolibri.coreVue.components.CoreFullscreen'; import responsiveElementMixin from 'kolibri.coreVue.mixins.responsiveElementMixin'; - import responsiveWindowMixin from 'kolibri.coreVue.mixins.responsiveWindowMixin'; + import useKResponsiveWindow from 'kolibri-design-system/lib/useKResponsiveWindow'; import iFrameView from './SandboxIFrameView'; import LoadingScreen from './LoadingScreen'; import LoadingError from './LoadingError'; @@ -226,7 +226,13 @@ SearchButton, LoadingError, }, - mixins: [responsiveWindowMixin, responsiveElementMixin], + mixins: [responsiveElementMixin], + setup() { + const { windowIsSmall } = useKResponsiveWindow(); + return { + windowIsSmall, + }; + }, data() { return { book: null,