
How to reproduce:
- Go to: Trust Level Permissions Table (inc Moderator Roles)
- Reduce your window so the table content overflows
- Reload the page
- Click on the fullscreen button
CSS is not applied, and clicking “…” redirects you to the topic.
I did not dive into it too much, but to make it work, this is what you need:
inline-footnotesclass name must be inserted at the root of the modal. That will also fix the CSS.- In generateFullScreenTableModal(), you pass to the modal
.footnotes-listelement as well. - In inline-footnote.js, it expects to find
.cookedas the content parent, we can check if an active modal is up and looks for.d-modal__body. - Tooltip
z-indexneeds to be adjusted because of the modal.
result

I hope that helps!