Skip to content

Commit c2ec53a

Browse files
committed
fix icon style
1 parent 0da7462 commit c2ec53a

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

css/scroll-hint.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
transition: opacity .3s;
4444
opacity: 0;
4545
background: rgba(0, 0, 0, .7);
46+
line-height: 50px;
47+
text-align: center;
4648
}
4749

4850
.scroll-hint-icon-wrap {
@@ -62,14 +64,12 @@
6264

6365
.scroll-hint-icon:before {
6466
display: inline-block;
65-
width: 50px;
66-
height: 50px;
67+
width: 40px;
68+
height: 40px;
6769
color: #FFF;
6870
vertical-align: middle;
6971
text-align: center;
7072
content: "";
71-
font-size: 30px;
72-
line-height: 50px;
7373
background-size: contain;
7474
background-position: center center;
7575
background-repeat: no-repeat;

js/scroll-hint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* scroll-hint:
66
* license: MIT (http://opensource.org/licenses/MIT)
77
* author: steelydylan
8-
* version: 0.0.1
8+
* version: 0.0.2
99
*
1010
* es6-object-assign:
1111
* license: MIT (http://opensource.org/licenses/MIT)

js/scroll-hint.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)