Skip to content

Commit

Permalink
Fixed navbar-top
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Gehani committed Dec 14, 2013
1 parent a6043b7 commit bf36b9f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion app/assets/stylesheets/bootstrap_and_customization.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ $grayLight: #bdc3c7;

@import 'bootstrap';
body{
padding-top: 1px;
padding-top: 70px;
}
.navbar-nav {
font-size: 16px;
}

.center {
Expand Down
1 change: 0 additions & 1 deletion app/views/layouts/_footer.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<div class="footer">
<small>
by <%= link_to "Neil Gehani", "http://twitter.com/GehaniNeil" %>
Tutorial by <%= link_to "Mattan Griffel", "http://mattangriffel.com" %>
</small>
</div>
4 changes: 2 additions & 2 deletions app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<nav class="navbar navbar-static-top navbar-default" role="navigation">
<nav class="navbar navbar-fixed-top navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
Expand All @@ -22,7 +22,7 @@
<% if user_signed_in? %>
<li>
<%= link_to new_pin_path do %>
<span class="glyphicon glyphicon-plus-sign" ></span> New Pin
<span class="glyphicon glyphicon-plus-sign" ></span> New
<% end %>
</li>
<li class="dropdown">
Expand Down

0 comments on commit bf36b9f

Please sign in to comment.