Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

data-fluidbox-max-width no working correctly. #186

Closed
bennyb opened this issue Feb 21, 2017 · 1 comment
Closed

data-fluidbox-max-width no working correctly. #186

bennyb opened this issue Feb 21, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@bennyb
Copy link

bennyb commented Feb 21, 2017

Hoping to give each elements it's own max width as some I need to allow for some caption text to the right. But setting the max-width data attribute seems to make the image shrink when clicked.

See example.
https://jsfiddle.net/bennyb/f3z8f2kz/

@terrymun terrymun self-assigned this Feb 22, 2017
@terrymun
Copy link
Owner

I confirm that the is a bug. This is due to the erroneous coercing of HTML5 data- attribute values into true, when it is not false. Fixed in 46c19a2 :)

@terrymun terrymun added this to the v2.0.5 milestone Feb 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants