From eabf773ba39ea18c9bcb9a2eedf8617e2a12dadb Mon Sep 17 00:00:00 2001 From: jomo Date: Tue, 21 Jun 2016 23:26:56 +0200 Subject: fix resend button style --- app/assets/stylesheets/style.css.scss | 5 +++++ app/views/users/show.html.erb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/style.css.scss b/app/assets/stylesheets/style.css.scss index 6be17f0..83908c5 100644 --- a/app/assets/stylesheets/style.css.scss +++ b/app/assets/stylesheets/style.css.scss @@ -654,6 +654,7 @@ tr.spacer { font-weight: bold; padding: 4px 10px; display: inline-block; + vertical-align: middle; border-radius: 3px; margin: 10px 0; } @@ -939,6 +940,10 @@ img { color: #888; } +.inline-block { + display: inline-block; +} + #footer { padding: 30px 0; width: 1600px; diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index eabe78e..0a5431c 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -23,7 +23,7 @@ <% if !@user.confirmed? %> <% if @user.is?(current_user) %> Please confirm your email <%= @user.email %> ! - <%= button_to "Resend the confirmation mail", resend_mail_user_path, class: "btn red" %> + <%= button_to "Resend the confirmation mail", resend_mail_user_path, class: "btn dark", form_class: "inline-block", data: {confirm: "Did you check your spam folder?"} %> <% else %> This user hasn't confirmed their email yet! <% end %> -- cgit v1.2.3