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> </script>
<div class={'w-full h-full flex absolute overflow-hidden ' + className}> <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"> <div class="h-full w-full absolute">
<slot /> <slot />
</div> </div>
</div> </div>
<style> <style>
#reader { @media only screen and (min-width: 600px) {
transform: rotateY(180deg); #reader {
transform: rotateY(180deg);
}
} }
</style> </style>