fix rotateY

This commit is contained in:
Ota Prokopec 2022-11-22 19:15:48 +01:00
parent 2b29fda778
commit 2264b7b7f0
1 changed files with 5 additions and 3 deletions

View File

@ -33,14 +33,16 @@
</script>
<div class={'w-full h-full flex absolute overflow-hidden ' + className}>
<div id="reader" class="w-full h-full flex justify-center items-center overflow-hidden" />
<div id="reader" class="w-full h-full flex justify-center items-center overflow-hidden" />
<div class="h-full w-full absolute">
<slot />
</div>
</div>
<style>
#reader {
transform: rotateY(180deg);
@media only screen and (min-width: 600px) {
#reader {
transform: rotateY(180deg);
}
}
</style>