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
This seems simple enough, but controlling the size of the lightbox via data-size does not work. It only uses the default "xl".
Maybe this could be controlled by Javascript, but there is no working example in the docs that show this. All examples show control via data- attributes.
Using v1.8.0.
The text was updated successfully, but these errors were encountered:
If you download the .js file and host it yourself, instead of loading it from the CDN it's easy to change.
On line 37 beginning of the script replace size: 'xl', with size: 'fullscreen' and it works.
This seems simple enough, but controlling the size of the lightbox via data-size does not work. It only uses the default "xl".
Maybe this could be controlled by Javascript, but there is no working example in the docs that show this. All examples show control via data- attributes.
Using v1.8.0.
The text was updated successfully, but these errors were encountered: