Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better-looking profile/sign out buttons

  • Loading branch information...
commit deb597f982811e34570bb39c22fc8b6e8fcec10e 1 parent d4d0d7e
@AndrewRadev authored
View
2  app/views/layouts/application.html.erb
@@ -21,8 +21,6 @@
<% if logged_in? %>
Signed in as <%= current_user.name %>.
- <br />
-
<% button_group do %>
<%= button_link_to 'View profile', profile_path %>
<%= button_link_to 'Sign out', sign_out_path %>
View
4 public/stylesheets/application.css
@@ -99,6 +99,10 @@ a:hover {
float: right;
}
+.button-group {
+ vertical-align: middle;
+}
+
.center {
display: block;
text-align: center;

0 comments on commit deb597f

Please sign in to comment.
Something went wrong with that request. Please try again.