Skip to content

Commit

Permalink
fix layout to main
Browse files Browse the repository at this point in the history
  • Loading branch information
pollseed committed Sep 12, 2015
1 parent 2d05377 commit 6706ff8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

.twitter_layout {
margin-top: 29px;
margin-right: 10px;
margin-right: 30px;
float: right;
}

Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.landing_text {
position: absolute;
top: 10%;
left: -15%;
left: 0%;
right: 0;
bottom: 0;
margin: auto;
Expand Down
4 changes: 3 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
<%= link_to 'HashTagの登録', hash_tags_path %> |
<%= link_to "ログアウト", destroy_user_session_path, method: :delete %>
<% else %>
<%= link_to image_tag("signin_with_twitter_logo.png", :size => "188x30", :class => "twitter_layout"), user_omniauth_authorize_path(:twitter) %>
<span>
<%= link_to image_tag("signin_with_twitter_logo.png", :size => "188x30", :class => "twitter_layout"), user_omniauth_authorize_path(:twitter) %>
</span>
<% end %>
</header>
<div class="container">
Expand Down

0 comments on commit 6706ff8

Please sign in to comment.