tobii
tobii copied to clipboard
An accessible, open-source lightbox with no dependencies
The `em` function in the `_functions.scss` file uses the deprecated slash syntax for division: ```scss @function em($pixels, $base-font-size: 18) { @return #{$pixels/$base-font-size}em; } ``` See [Breaking Change: Slash as Division](https://sass-lang.com/documentation/breaking-changes/slash-div)...
Adds CSS calc function to fix issue #89.
To reproduce the issue, please do the following in the fiddle: https://jsfiddle.net/s56k8aum/3/ 1. Add First Image 2. Remove First Image 3. Add First Image (this causes exception) Could you please...
Hello, it seems that the counter does not recalculate after an item is removed. 1. i add several images to the lightbox -> counter is right 2. i remove an...
Naming of tobii's custom properties interferes with local custom properties due to generalized naming like `--button-background` or `--button-color`, set on `:root` level. A possible solution would be to scope variables...
In most cases close button in top-right corner works. But not in all cases. If we have lots of small images or using inline HTML feature (modal window will be...
Change captionText to use innerHTML instead of textContent. Please check... (it's my first pull request ;-))
Hi, I'm assuming it is possible to include multiple You Tube videos in a gallery arrangement? At the present time if I open one You Tube video in a light...
Hi It would be great if the output of the captionText function could contain HTML code like line breaks or links. I suggest the following change: original: `this.userSettings.captionText?r.textContent=this.userSettings.captionText(e)` new: `this.userSettings.captionText?r.innerHTML=this.userSettings.captionText(e)`...
Currently, the files in [`dist/js`](https://github.com/midzer/tobii/tree/production/dist/js) only state the following: ```javascript /** * tobii 2.0.0-beta * */ ``` I suggest changing it to something like this: ```javascript /** * tobii 2.0.0-beta...