Skip to content
Browse files

Improving css

  • Loading branch information...
1 parent 8167d86 commit cd1cec8f41b7e306a3634766fae27bf947071af8 @hcarreras committed
Showing with 19 additions and 6 deletions.
  1. +16 −1 app/assets/stylesheets/users.css.scss
  2. +3 −5 app/views/users/index.html.haml
View
17 app/assets/stylesheets/users.css.scss
@@ -20,4 +20,19 @@
}
}
}
-}
+}
+
+.title {
+ display: inline;
+ margin-right: 10px;
+ margin: 0px;
+}
+
+#user-list {
+ li {
+ list-style-type: none;
+ padding-bottom: 3px;
+ padding-top: 3px;
+ }
+}
+
View
8 app/views/users/index.html.haml
@@ -1,10 +1,8 @@
=link_to "Create a diffusion", mailer_path(:user => User.all)
-%ul
+%ul#user-list
- @users.each do |user|
%li
- .info
- .title= user.username
- .categories
- .btn.success= link_to "Email him", mailer_path(:user => user)
+ .title= user.username
+ = link_to "Email him", mailer_path(:user => user), :class => "btn small info"
= will_paginate @users

0 comments on commit cd1cec8

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