Tweak column widths on two factor warning messages

This commit is contained in:
Jedidiah 2017-09-08 12:40:49 +00:00 committed by Sean McGivern
parent fadc58c50d
commit 1e832a3a75
2 changed files with 11 additions and 6 deletions

View File

@ -6,15 +6,15 @@
%script#js-register-u2f-setup{ type: "text/template" }
- if current_user.two_factor_otp_enabled?
.row.append-bottom-10
.col-md-3
%button#js-setup-u2f-device.btn.btn-info Setup new U2F device
.col-md-9
.col-md-4
%button#js-setup-u2f-device.btn.btn-info.btn-block Setup new U2F device
.col-md-8
%p Your U2F device needs to be set up. Plug it in (if not already) and click the button on the left.
- else
.row.append-bottom-10
.col-md-3
%button#js-setup-u2f-device.btn.btn-info{ disabled: true } Setup new U2F device
.col-md-9
.col-md-4
%button#js-setup-u2f-device.btn.btn-info.btn-block{ disabled: true } Setup new U2F device
.col-md-8
%p.text-warning You need to register a two-factor authentication app before you can set up a U2F device.
%script#js-register-u2f-in-progress{ type: "text/template" }

View File

@ -0,0 +1,5 @@
---
title: Two factor auth messages in settings no longer overlap the button
merge_request:
author: Jedidiah Broadbent
type: fixed