Change positioning and sizing of external login buttons to be nicer looking, using flex box

Fixes https://jira.coreos.com/browse/QUAY-806
This commit is contained in:
Joseph Schorr 2018-01-31 11:05:42 -05:00
parent 5e82538fd5
commit 868a3df2d8
3 changed files with 22 additions and 14 deletions

View file

@ -5,7 +5,7 @@
Login via service
</h4>
<div class="external-logins" quay-show="EXTERNAL_LOGINS.length" ng-class="EXTERNAL_LOGINS.length > 2 ? 'smaller': 'larger'">
<div class="external-logins" quay-show="EXTERNAL_LOGINS.length">
<div class="external-login-button" provider="provider" redirect-url="redirectUrl"
sign-in-started="markStarted()" ng-repeat="provider in EXTERNAL_LOGINS" is-link="true"></div>
</div>