curiousdannii / parchment

The Interactive Fiction web app
https://iplayif.com
MIT License
421 stars 60 forks source link

Update parchment.css #58

Closed MarcCote closed 5 years ago

MarcCote commented 5 years ago

Let the scrollability be decided automatically.

Was there any particular reason for always forcing the scrollbar to be shown?

curiousdannii commented 5 years ago

So that the page doesn't lurch to the left once more text is appended. I like the current behavior, but thanks for considering it.

Edit: Is there any situation when this is a problem, or do you just dislike the aesthetics?

MarcCote commented 5 years ago

Got it thanks.

MarcCote commented 5 years ago

I tried to embed ifplay.com in an iframe and it was producing two scrollbars. image

MarcCote commented 5 years ago

Is https://github.com/curiousdannii/parchment/issues/12 (Allow CSS stylesheet to be passed in the url) something that could solve that problem?

curiousdannii commented 5 years ago

Ahh, that's a problem with Glulx specifically. I am aware of that. I'll have a think, maybe there's a way to remove the scroll bar for Glulx but keep it for the Z-Machine.