Add more space to buttonsy

Signed-off-by: Jochen <rothjochen@gmail.com>
This commit is contained in:
Jochen 2019-09-02 17:50:56 +02:00
parent 068f1d28f3
commit dc30ffc1e5
2 changed files with 12 additions and 8 deletions

View File

@ -159,7 +159,7 @@ form #datadirField legend {
}
#alternative-logins a {
margin: 5px;
margin: 10px 5px;
display: block;
font-size: 15px;
}

View File

@ -3,12 +3,16 @@
script('core', 'dist/login');
?>
<?php if (!empty($_['alt_login'])) { ?>
<div id="alternative-logins">
<?php foreach($_['alt_login'] as $login): ?>
<a class="button primary" href="<?php print_unescaped($login['href']); ?>" ><?php p($login['name']); ?></a>
<?php endforeach; ?>
</div>
<?php } ?>
<div id="login"></div>
<?php if (!empty($_['alt_login'])) { ?>
<div id="alternative-logins">
<?php foreach($_['alt_login'] as $login): ?>
<a class="button primary" href="<?php print_unescaped($login['href']); ?>" >
<?php p($l->t('Log in with')) ?>
<?php p($login['name']); ?>
</a>
<?php endforeach; ?>
</div>
<?php } ?>