You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
When using the Lightbox-Example in https://swiss.github.io/styleguide/de/multimedia.html#06-multimedia-03-lightbox, as soon as the modal dialog is shown, the underlying page gets displaced by visually notable amount of pixels. This seems to be caused by this additional element style, which is added to the document body on showing the modal dialog:
This issue is still valid today. I have tested on a recent Chrome Browser Version 59.0.3071.104 (Official Build) (64-bit) on Ubuntu 14.04. See attached Screenshots. It occurs on all window widths from small to very large. Attached you find 2 images, one before loading the modal dialog, one with the dialog show. Notice the slightly left-shifted content in the background.
It's not much, but clearly noticeable. Probably the width of the scrollbar.
When using the Lightbox-Example in https://swiss.github.io/styleguide/de/multimedia.html#06-multimedia-03-lightbox, as soon as the modal dialog is shown, the underlying page gets displaced by visually notable amount of pixels. This seems to be caused by this additional element style, which is added to the document body on showing the modal dialog:
<body style="padding-right: 17px;" class="modal-open">
The problem is probably somewhere in the javascript code that handles the modal dialog fades.
The text was updated successfully, but these errors were encountered: