Improves styles for account page, adds user avatar
This commit is contained in:
committed by
Juanjo Bazán
parent
1299987272
commit
94dc53e68c
@@ -457,12 +457,17 @@ form {
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
margin-bottom: $line-height;
|
||||
}
|
||||
|
||||
h2 {
|
||||
clear: both;
|
||||
font-size: rem-calc(20);
|
||||
font-weight: bold;
|
||||
line-height: $line-height;
|
||||
margin: 0;
|
||||
margin-bottom: $line-height/2;
|
||||
}
|
||||
|
||||
.recommendations {
|
||||
|
||||
@@ -35,7 +35,11 @@
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="small-12 column">
|
||||
<div class="small-12 medium-6 column">
|
||||
<h2><%= t("account.show.avatar")%></h2>
|
||||
<%= image_tag('user_default_big.jpg', class: "avatar", size: "100x100") %>
|
||||
|
||||
<h2><%= t("account.show.notifications")%></h2>
|
||||
<%= f.label :email_on_debate_comment do %>
|
||||
<%= f.check_box :email_on_debate_comment %>
|
||||
<span class="checkbox"><%= t("account.show.email_on_debate_comment_label") %></span>
|
||||
|
||||
Reference in New Issue
Block a user