Skip to content

Commit

Permalink
添加github图标
Browse files Browse the repository at this point in the history
  • Loading branch information
JakHuang committed Dec 30, 2019
1 parent a358b08 commit 7bd4b4e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/styles/homeScoped.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,20 @@ $selectedColor: #f6f7ff;
color: #00afff;
font-weight: 600;
font-size: 17px;

img{
white-space: nowrap;
> img{
width: 30px;
height: 30px;
vertical-align: top;
}
.github{
display: inline-block;
vertical-align: sub;
margin-left: 15px;
> img{
height: 22px;
}
}
}

.center-board-row {
Expand Down
3 changes: 3 additions & 0 deletions src/views/index/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<div class="logo-wrapper">
<div class="logo">
<img :src="logo" alt="logo" /> Form Generator
<a class="github" href="https://github.com/JakHuang/form-generator" target="_blank">
<img src="https://github.githubassets.com/pinned-octocat.svg" alt=""/>
</a>
</div>
</div>
<el-scrollbar class="left-scrollbar">
Expand Down

0 comments on commit 7bd4b4e

Please sign in to comment.