Skip to content

Instantly share code, notes, and snippets.

@fanian
Created November 25, 2014 19:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fanian/9b1cc5b08ac158d1d4cb to your computer and use it in GitHub Desktop.
Save fanian/9b1cc5b08ac158d1d4cb to your computer and use it in GitHub Desktop.
Normalize Carousel Heights - pass in Bootstrap Carousel items
@robertdavid010
Copy link

For some reason I get weird heights from this. Items 2 through (n-1) have a seemingly arbitrary value. These heights are not the computed heights found when not using this function.

@vickyRuiz
Copy link

I'm seeing the same issue as robertdavId010, in IE9 and Firefox. It works fine in Chrome tho. It seems that FF doesn't calculate the height of hidden .items very well.

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