Skip to content

Commit

Permalink
fix sign-in buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdtangent committed Mar 21, 2021
1 parent 643e0d6 commit e52c631
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions static/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ li.signout {
padding-bottom: 0.75em;
}

.login a {
width: 253px;
.login {
height: 50px;
}

.signout {
Expand Down
File renamed without changes
Binary file added static/images/vendor/twitter-sign-in.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions templates/includes/_sidemenu.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
{{end}}
</ul>
{{else}}
<div class="ms-4 pb-2 login"><a href="/auth/twitter" class="btn btn-primary"><span class="fa fa-twitter"></span> Sign in with Twitter</a></div>
<!-- <div class="g-signin2 pb-2 ms-4" data-onsuccess="onSignIn" data-width="253" data-height="50" data-longtitle="true" data-theme="dark"></div> -->
<div class="pb-2 ms-4 login"><a href="/auth/google" class="btn btn-primary"><span class="fa fa-google"></span> Sign in with Google</a></div>
<div class="d-flex flex-column align-items-center pt-3">
<div class="login"><a href="/auth/twitter"><img src="/static/images/vendor/twitter-sign-in.png"></a></div>
<div class="login"><a href="/auth/google"><img src="/static/images/vendor/google-sign-in.png"></a></div>
</div>
{{end}}
</div>
{{- end}}

0 comments on commit e52c631

Please sign in to comment.