Browse files

Better-looking profile/sign out buttons

  • Loading branch information...
1 parent d4d0d7e commit deb597f982811e34570bb39c22fc8b6e8fcec10e @AndrewRadev committed Jul 17, 2011
Showing with 4 additions and 2 deletions.
  1. +0 −2 app/views/layouts/application.html.erb
  2. +4 −0 public/stylesheets/application.css
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.