0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-12 20:01:53 +00:00

Fixed SAML login button alignment

This commit is contained in:
Dan Brown 2021-05-08 11:49:18 +01:00
parent a083ceaf44
commit f522f16526
2 changed files with 2 additions and 1 deletions
resources
sass
views/auth/forms/login

View file

@ -117,6 +117,7 @@ button {
align-items: center; align-items: center;
padding: $-s $-m; padding: $-s $-m;
padding-bottom: ($-s - 2px); padding-bottom: ($-s - 2px);
width: 100%;
svg { svg {
display: inline-block; display: inline-block;
width: 24px; width: 24px;

View file

@ -2,7 +2,7 @@
{!! csrf_field() !!} {!! csrf_field() !!}
<div> <div>
<button id="saml-login" class="button outline block svg"> <button id="saml-login" class="button outline svg">
@icon('saml2') @icon('saml2')
<span>{{ trans('auth.log_in_with', ['socialDriver' => config('saml2.name')]) }}</span> <span>{{ trans('auth.log_in_with', ['socialDriver' => config('saml2.name')]) }}</span>
</button> </button>