bootstrap sass - ruby on rails tutorial chapter five - styling -
i'm running through michael hartl's tutorial, , having reached styling , layout chapter, seem have got wrong. whereas in tutorial, site links right aligned on single line (like http://railstutorial.org/images/figures/site_with_footer_bootstrap_4_0-full.png), them right aligned 1 beneath other, , (but not all) other styling elements missing.
i've tried updating gems.
example code - _header.html.erb
<header class="navbar navbar-fixed-top navbar-inverse"> <div class="navbar-inner"> <div class="container"> <%= link_to "sample app", '#', id: "logo" %> <nav> <ul class="nav pull-right"> <li><%= link_to "home", '#' %></li> <li><%= link_to "help", '#' %></li> <li><%= link_to "sign in", '#' %></li> </ul> </nav> </div>
i think means bootstrap unhappy something, can't tell what.
thanks reading far :)
if ever have questions regarding code vs should be, try checking repository first.
https://github.com/railstutorial/sample_app_rails_4
there has full working copy of sample application.
Comments
Post a Comment