Jisho

×
5f0400c8967b078a632af128d6ee6d40
0 Replies ・ Started by lalomartins at 2017-11-27 18:48:22 UTC

CSS bug with “show inflections”

If I scroll down a couple of pages and click “show inflections”, the modal and its background both appear at the top of the (virtual) page, so they're not visible on my screen at all, and it looks like the link simply didn't work. I figured out by accident one day that they were actually displayed up there and I could scroll up to see them.

One possible solution (which I implemented for myself with the help of Stylish) is to use position: fixed for .reveal-modal and .reveal-modal-bg.

.reveal-modal-bg,
.reveal-modal,
dialog {
    position: fixed;
}
to reply.