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

FlexSlider doesn't properly reduce in size when used as part of a table layout #980

Open
lenscraft opened this issue Jan 13, 2014 · 7 comments
Assignees
Milestone

Comments

@lenscraft
Copy link

When FlexSlider is in a table layout, the size doesn't reduce when the parent table-cell reduces in width. (It does increase in size when the parent cell gets wider, but never gets narrower.)

@jeffikus jeffikus closed this as completed Apr 1, 2015
@prcss1984
Copy link

@jeffikus @lenscraft I had the same issue. Is there a fix for this?

@jeffikus
Copy link
Contributor

@PCandtheWeb @lenscraft do you have live examples of this?

@jeffikus jeffikus reopened this May 13, 2015
@jeffikus jeffikus self-assigned this May 13, 2015
@prcss1984
Copy link

Hi @jeffikus,

Thanks for the reply. Here is a bare bones example of a flexslider not resizing when inside of a table layout...http://patrickcicere.com/flexslider/flexslider-table.html

As mentioned before, it does increase in size when the parent cell gets wider, but never gets narrower.

@jeffikus
Copy link
Contributor

Thanks! I'll take a look!

@prcss1984
Copy link

Hi @jeffikus and @lenscraft,

After looking into this issue further, I believe it can be fixed by adding a table-layout: fixed to the table element that contains the flexslider.

@mine-t
Copy link

mine-t commented Jun 25, 2015

Hello.
I found this hack.

.flexgrid {
  box-sizing: border-box;
  margin-right: -99999px;
}

@mine-t
Copy link

mine-t commented Jun 25, 2015

sorry mistake.

.flexgrid => .flexslider

@jeffikus jeffikus added this to the 2.6.5 milestone Sep 15, 2017
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

4 participants