Bootstrap 3.0 affix with list changes width

前端 未结 9 1665
一向
一向 2021-02-01 14:56

I\'m migrating to bootstrap 3.0.0 and I\'m having issues with an affixed menu to the left: as soon as it becomes affixed (after 10px scroll), its width changes. In this fiddle i

9条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-01 15:42

    had the same problem once (only in BS 2.3.2).

    Not an answer, more a hack: I gave the affixed element a width. That sucked, because i had to set width for all resolutions (RWD) and actually the value should be standard column width (e.g. .span4).

    Yes: position: fixed takes the element out of the given context (in your case col-md-3).

提交回复
热议问题