Fix max width on 2FA pages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
092a1fb90f
commit
a673ff3a63
3 changed files with 6 additions and 2 deletions
|
@ -471,6 +471,10 @@ form .warning input[type='checkbox']+label {
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.body-login-container.two-factor {
|
||||||
|
max-width: 290px;
|
||||||
|
margin: 15px auto 0;
|
||||||
|
}
|
||||||
.two-factor-provider {
|
.two-factor-provider {
|
||||||
display: flex;
|
display: flex;
|
||||||
border-radius: 3px; /* --border-radius */
|
border-radius: 3px; /* --border-radius */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
$noProviders = empty($_['providers']);
|
$noProviders = empty($_['providers']);
|
||||||
?>
|
?>
|
||||||
<div class="body-login-container update">
|
<div class="body-login-container update two-factor">
|
||||||
<h2 class="two-factor-header"><?php p($l->t('Two-factor authentication')) ?></h2>
|
<h2 class="two-factor-header"><?php p($l->t('Two-factor authentication')) ?></h2>
|
||||||
<?php if (!$noProviders): ?>
|
<?php if (!$noProviders): ?>
|
||||||
<p><?php p($l->t('Enhanced security is enabled for your account. Choose a second factor for authentication:')) ?></p>
|
<p><?php p($l->t('Enhanced security is enabled for your account. Choose a second factor for authentication:')) ?></p>
|
||||||
|
|
|
@ -11,7 +11,7 @@ $provider = $_['provider'];
|
||||||
$template = $_['template'];
|
$template = $_['template'];
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="body-login-container update">
|
<div class="body-login-container update two-factor">
|
||||||
<h2 class="two-factor-header"><?php p($provider->getDisplayName()); ?></h2>
|
<h2 class="two-factor-header"><?php p($provider->getDisplayName()); ?></h2>
|
||||||
<?php if ($error): ?>
|
<?php if ($error): ?>
|
||||||
<?php if($error_message): ?>
|
<?php if($error_message): ?>
|
||||||
|
|
Loading…
Reference in a new issue