Fix e-reader settings modal on landscape

This commit is contained in:
advplyr
2025-11-19 17:01:06 -06:00
parent 70a9cab6f2
commit e63358f776
3 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<template>
<div ref="wrapper" class="modal modal-bg w-screen fixed bottom-0 left-0 flex items-center justify-center z-50" :class="threeQuartersScreen ? 'h-[75vh] min-h-[400px]' : 'h-screen'" @click.stop @touchstart.stop @touchend.stop>
<div ref="wrapper" class="modal modal-bg w-screen fixed bottom-0 left-0 flex items-center justify-center z-50" :class="threeQuartersScreen ? 'h-[75vh] min-h-[400px] short:min-h-0 short:h-screen' : 'h-screen'" @click.stop @touchstart.stop @touchend.stop>
<div ref="content" class="relative text-fg h-full w-full bg-bg">
<slot />
</div>
@@ -74,4 +74,4 @@ export default {
this.$eventBus.$off('close-modal', this.closeModalEvt)
}
}
</script>
</script>