Skip to content

Commit

Permalink
fix: tighten up the social logins
Browse files Browse the repository at this point in the history
This keeps it from needing to scroll on mobile devices.
  • Loading branch information
paulswartz committed Jan 2, 2025
1 parent 069d09e commit 7bee626
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions files/templates/mbta/login/login.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@
</div>
</form>
</#if>
<#if realm.password && social.providers??>
<#list social.providers>
<ul class="login-social-providers">
<#items as p>
<li><a href="${p.loginUrl}">${msg("identityProviderLoginLabel", p.displayName)}</a></li>
</#items>
</ul>
</#list>
</#if>
</div>
<#if realm.password && social.providers??>
<#list social.providers>
<ul class="login-social-providers">
<#items as p>
<li><a href="${p.loginUrl}">${msg("identityProviderLoginLabel", p.displayName)}</a></li>
</#items>
</ul>
</#list>
</#if>
</#if>
</@layout.registrationLayout>
4 changes: 2 additions & 2 deletions files/templates/mbta/login/resources/css/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ h3 {
.container {
height: auto;
border: 1px solid #F2F3F5;
margin: 5% auto 0 auto;
margin: 0 auto 0 auto;
padding: 5% 3%;
}

Expand Down Expand Up @@ -472,7 +472,7 @@ a:visited {

.login-social-providers {
list-style: none;
padding: 1rem;
padding: 1rem 1rem 0;
}

.login-social-providers li {
Expand Down

0 comments on commit 7bee626

Please sign in to comment.