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

Additional class for inner first div #271

Open
miloszmich opened this issue Apr 27, 2020 · 1 comment
Open

Additional class for inner first div #271

miloszmich opened this issue Apr 27, 2020 · 1 comment

Comments

@miloszmich
Copy link

miloszmich commented Apr 27, 2020

Hi Paweł,

I have small advice for better styling inside main slider div tag.
To first div inside slider div tag (with stransition, width and transform styling) is better to add class or next style flex.
It can help if You want to have the same slide height (with different content length - including bootstrap, bulma, etc.).

Issue for flat js:
this.sliderFrame=document.createElement("div"), this.sliderFrame.classList.add("siema_inner") //here adding class, this.sliderFrame.style.width=e*t+"px",this.enableTransition(),this.config.draggable&&(this.selector.style.cursor="-webkit-grab");

@miloszmich
Copy link
Author

And sorry for adding topic in bad category -> monday morning xD

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

1 participant