From 8d3e5a369a8febbac89aaa37791a1ea47111ed42 Mon Sep 17 00:00:00 2001 From: Michael Ryan Date: Wed, 11 Jul 2018 07:18:58 -0400 Subject: [PATCH] Adjust checkbox spacing on OTP verification template **Why**: The control wraps prematurely on smaller screen widths. **How**: Make full width of its parent. --- .../two_factor_authentication/otp_verification/show.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/two_factor_authentication/otp_verification/show.html.slim b/app/views/two_factor_authentication/otp_verification/show.html.slim index 7158f23d905..a4f335c6020 100644 --- a/app/views/two_factor_authentication/otp_verification/show.html.slim +++ b/app/views/two_factor_authentication/otp_verification/show.html.slim @@ -16,7 +16,7 @@ p == @presenter.phone_number_message autocomplete: 'off', type: 'tel') = submit_tag t('forms.buttons.submit.default'), class: 'btn btn-primary align-top sm-col-6 col-12' - if @presenter.remember_device_available? - .border.col-9.rounded-lg.mt2 + .border.col-12.rounded-lg.mt2 = check_box_tag 'remember_device', true, false, class: 'my2 ml2 mr1' = label_tag 'remember_device', t('forms.messages.remember_device', duration: Figaro.env.remember_device_expiration_days),