From 8309df0aafd2d8cbaabc09f44e0e0acc5e00ff51 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Wed, 26 Oct 2016 13:51:05 +0200 Subject: [PATCH] fix hound --- app/assets/stylesheets/themes/scinote.scss | 18 +++++++++--------- app/views/users/registrations/edit.html.erb | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index 9f5893bd2..d93d7a55a 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -1455,26 +1455,26 @@ html.turbolinks-progress-bar::before { } //edit avatar -#avatar-container { - width: 100px; +.avatar-container { height: 100px; position: relative; + width: 100px; } -#avatar-image, -#avatar-edit { - width: 100%; +.avatar-image, +.avatar-edit { height: 100%; position: absolute; + width: 100%; } -#avatar-edit { - z-index: 10; - opacity: 0.8; +.avatar-edit { margin-top: 70px; + opacity: .8; + z-index: 10; .btn-greyed { - border-radius: 0em; + border-radius: 0; width: 100px; } } diff --git a/app/views/users/registrations/edit.html.erb b/app/views/users/registrations/edit.html.erb index f7afad79d..241f1c1ce 100644 --- a/app/views/users/registrations/edit.html.erb +++ b/app/views/users/registrations/edit.html.erb @@ -15,11 +15,11 @@
<%= f.label t("users.registrations.edit.avatar_label") %>
<% @user_avatar_url ||= avatar_path(current_user, :thumb) %> -
-
+
+
<%= image_tag @user_avatar_url %>
-