Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variable width items in Sly #253

Open
Asyst opened this issue Jun 21, 2016 · 3 comments
Open

variable width items in Sly #253

Asyst opened this issue Jun 21, 2016 · 3 comments

Comments

@Asyst
Copy link

Asyst commented Jun 21, 2016

Hello !
How i can use variable width items in your plugin ?
Where items width: auto

Best regards !
Alexandr

@kadario
Copy link

kadario commented Jun 21, 2016

There is no "width" option in Sly, you just need to set it up in your css code :(
Btw, you can add width: auto to your css, but im afraid that you will see some broken items in browser.

@Asyst
Copy link
Author

Asyst commented Jun 22, 2016

Ok, understandly.
Thanks for support and nice plugin ! : )

@sergey-dev
Copy link

@Asyst , what you have to do - is to make the proper coding-slicing with HTML and CSS first, so it's looking exactly as you expect.

And only then to bind the Sly's logic to your code.
Sly itself doesn't apply any calculations to the columns, it just makes the steps/items calculations for the position of SLIDEE from your layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants