Skip to content

Commit 73f1711

Browse files
sinchangJacksonTian
authored andcommitted
fix: github login button style (#53)
1 parent bb4284e commit 73f1711

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

app/public/stylesheets/style.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,3 +1315,7 @@ textarea.editor {
13151315
.sponsor_outlink:hover {
13161316
text-decoration: none;
13171317
}
1318+
1319+
.github-login-btn {
1320+
display: inline-block;
1321+
}

app/view/sign/signin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<div class='form-actions'>
3636
<input type='submit' class='span-primary' value='登录'/>
37-
<a href="/passport/github">
37+
<a href="/passport/github" class="github-login-btn">
3838
<span class="span-info">
3939
通过 GitHub 登录
4040
</span>

app/view/sign/signup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
<div class='form-actions'>
6363
<input type='submit' class='span-primary' value='注册'/>
64-
<a href="/auth/github">
64+
<a href="/auth/github" class="github-login-btn">
6565
<span class="span-info">
6666
通过 GitHub 登录
6767
</span>

0 commit comments

Comments
 (0)