twitterのこのような縦向き固定のヘッダーを作成したいのですが、
application.html.erb
rb
1 <body> 2 <p class="notice"><%= notice %></p> 3 <p class="alert"><%= alert %></p> 4 <%= render "common/header" %> 5 <%= yield %> 6 </body>
common/_header.html.erb
rb
1<div class = "nav"> 2 <div class = "nav__logo" > 3 <%= link_to(root_path) do %> 4 <%= image_tag 'blog_logo.png', class: "main_logo" %> 5 <% end %> 6 </div> 7</div>
scss