]> BookStack Code Mirror - bookstack/commitdiff
Fixed SAML login button alignment
authorDan Brown <redacted>
Sat, 8 May 2021 10:49:18 +0000 (11:49 +0100)
committerDan Brown <redacted>
Sat, 8 May 2021 10:49:18 +0000 (11:49 +0100)
resources/sass/_buttons.scss
resources/views/auth/forms/login/saml2.blade.php

index bd76090523ca70a8ce24cba5ec5037ed7f5b74ae..850443d9a7c02a500832990eaa0b9d4e7a7ca8d5 100644 (file)
@@ -117,6 +117,7 @@ button {
   align-items: center;
   padding: $-s $-m;
   padding-bottom: ($-s - 2px);
+  width: 100%;
   svg {
     display: inline-block;
     width: 24px;
index 7d6595894fa5222c974e670415bd7dceddc04b3f..1afd2d9bb6d6540b659a3aa9bb32ae48d1b76127 100644 (file)
@@ -2,7 +2,7 @@
     {!! csrf_field() !!}
 
     <div>
-        <button id="saml-login" class="button outline block svg">
+        <button id="saml-login" class="button outline svg">
             @icon('saml2')
             <span>{{ trans('auth.log_in_with', ['socialDriver' => config('saml2.name')]) }}</span>
         </button>