Okuyun / Kuran

https://okuyun.github.io/Kuran/
6 stars 3 forks source link

swipe enhancement #21

Closed a0m0rajab closed 3 years ago

a0m0rajab commented 3 years ago

On quran and translation Swipe horizontally only works on the text itself its does not work on the blue area, could we enable it for the whole page?

maeyler commented 3 years ago

NO -- it's not worth the effort (except for start.html, the initial page)

Swipe is mainly for mobile devices where the screen is already full

a0m0rajab commented 3 years ago

For my mobile the Quran page is not full screen always.

maeyler commented 3 years ago

I tried making start.html full height -- it did work

was simple -- thank you

maeyler commented 3 years ago

Now it works for reader.html -- Thanks to @a0m0rajab

The reason why calc() did not work earlier:

The + and - operators must be surrounded by whitespace. https://developer.mozilla.org/en-US/docs/Web/CSS/calc()