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

[Flicking] Makes panels can have paddings. #226

Closed
jongmoon opened this issue May 19, 2016 · 1 comment
Closed

[Flicking] Makes panels can have paddings. #226

jongmoon opened this issue May 19, 2016 · 1 comment
Assignees
Milestone

Comments

@jongmoon
Copy link
Contributor

Description

If panels have paddings, panels overrides flicking area.

Steps to check or reproduce

http://codepen.io/jongmoon/pen/ZWdGgQ

#wrapper {
  width:100%;
  height:300px;
}

div.content {
  padding:0 100px;
}
$("#wrapper").flicking();

Result

image

The red panel overrides flicking area.

@jongmoon
Copy link
Contributor Author

Should account panel's padding size when initializing panel width.

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

No branches or pull requests

2 participants