gerby-project / gerby-website

Tag-based webview of LaTeX documents
MIT License
28 stars 22 forks source link

Ugly bar under displayed equation in firefox #135

Closed aisejohan closed 5 years ago

aisejohan commented 6 years ago

There is an ugly scroll bar on Tag 0A9A in the displayed equation on my firefox Firefox Quantum, 63.0 (64-bit). This is related to issie #63.

pbelmans commented 5 years ago

I changed the scrolling behavior for equations, hopefully without breaking something else.

pbelmans commented 5 years ago

Nope, this is not quite good enough. It turns out that the behavior was changed in Firefox 63, so it was working fine before. Testing a bit more for now.

pbelmans commented 5 years ago

Hmpf. Firefox is being rather annoying regarding this problem...

@chngr Any ideas? Am I missing something obvious?

chngr commented 5 years ago

I am having a lot of trouble recreating this. This issue does not seem to appear on any of the browsers I usually use (Firefox 64.0b12, Chrome 70.0..., Safari 12.0.1) nor on the release of Firefox 63.0 that I could find---it seems to be patched up to 63.0.3.

pbelmans commented 5 years ago

What is your value of layout.css.overflow.moz-scrollbars.enabled in about:config? Is it for some reason set to true?

aisejohan commented 5 years ago

Still there today on ubuntu with 63.0.3 (64-bit) on Ubuntu 18.10.

chngr commented 5 years ago

@pbelmans: Nope, layout.css.overflow.moz-scrollbars.enabled is false.

So the scrollbar does appear when I make my browser window quite thin, though this behaviour is true across browsers. At least on my Firefox window, I measure that there is not scrollbar when the content frame is at 640px or the div.equation is at 633px, but anything smaller, even when the box more than big enough for the 223px diagram`, will make the scrollbar appear.

aisejohan commented 5 years ago

This seems to have worked here! Thanks. Closing.