diff --git a/app/assets/stylesheets/login.scss b/app/assets/stylesheets/login.scss index 8d7e34d3b..9dea52902 100644 --- a/app/assets/stylesheets/login.scss +++ b/app/assets/stylesheets/login.scss @@ -10,4 +10,7 @@ article { a { text-decoration: none; } + .facebook { + margin-right: -4px; + } } \ No newline at end of file diff --git a/app/assets/stylesheets/reg_session.scss b/app/assets/stylesheets/reg_session.scss index d8f145b3e..696780dac 100644 --- a/app/assets/stylesheets/reg_session.scss +++ b/app/assets/stylesheets/reg_session.scss @@ -34,6 +34,9 @@ article { a { text-decoration: none; } + .facebook { + margin-right: -4px; + } .other { .left { margin-top: 6px; diff --git a/app/views/devise/shared/_providers.haml b/app/views/devise/shared/_providers.haml index f7cdc00c4..d173f01d0 100644 --- a/app/views/devise/shared/_providers.haml +++ b/app/views/devise/shared/_providers.haml @@ -7,5 +7,5 @@ - resource_class.omniauth_providers.each do |provider| = link_to omniauth_authorize_path(resource_name, provider) do - provider = provider.to_s.gsub(/_oauth2/,'') - = image_tag("#{provider}.png", :alt => provider) + = image_tag("#{provider}.png", :alt => provider, :class => provider) .both \ No newline at end of file