0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00
Nick O'Donoghue 36b4f90f25 Fixes affix-top class not applying
Use scrollTop instead of colliderTop which uses the elements
offset().top, as the offset top does not account for padding.

This issue can be replicated by using a navbar-fixed-top and applying
relevant padding to the body. (A navbar-static-top with no padding on
the body does not encounter this issue)

Fixes #15078
Closes #15154 by merging it
2014-11-17 18:17:42 -08:00
..
2014-07-25 11:02:30 -07:00
2014-11-17 18:17:42 -08:00
2014-11-12 09:03:16 -08:00
2014-11-12 09:03:16 -08:00
2014-11-12 09:03:16 -08:00
2014-11-12 09:03:16 -08:00
2014-11-12 09:03:16 -08:00
2014-11-12 09:03:16 -08:00
2014-11-12 09:03:16 -08:00
2014-11-12 09:03:16 -08:00
2014-11-12 09:03:16 -08:00