How to change navbar collapse threshold using Twitter bootstrap-responsive?

后端 未结 14 1045
别那么骄傲
别那么骄傲 2020-12-04 08:18

I\'m using Twitter Bootstrap 2.0.1 in a Rails 3.1.2 project, implemented with bootstrap-sass. I\'m loading both the bootstrap.css and the bootstrap-respon

14条回答
  •  一向
    一向 (楼主)
    2020-12-04 09:05

    I suspect (and hope) this will be implemented in an official way soon. In the meantime I'm just doing a simple css hack, using visible-phone on the dropdown button and visible-tablet on a second set of buttons I've placed in the navbar. So before it looked like this:

    
    

    And now it looks like:

    
    

    Note that order of elements is important, otherwise you may have issues with elements going into the next line

提交回复
热议问题