Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit45ea91d

Browse files
committed
page scroll fixed
1 parent82088d4 commit45ea91d

File tree

11 files changed

+20
-13
lines changed

11 files changed

+20
-13
lines changed

‎dist/build.5e65a42d.js‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎dist/build.5e65a42d.js.map‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎dist/build.71f40de6.js‎

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/build.71f40de6.js.map‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><htmllang="en"class="loading"><head><metacharset="UTF-8"><metahttp-equiv="X-UA-Compatible"content="IE=edge"><linkrel="shortcut icon"type="image/x-icon"href="/favicon.ico"><metaname="viewport"content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no"><title>Loading...</title><script>window.config=$config</script><script>varua=window.navigator.userAgent;if(ua.indexOf("MSIE")>-1||ua.match(/Trident\/7\./)){varhead=document.getElementsByTagName("head")[0],script=document.createElement("script");script.type="text/javascript",script.src="promise.js",head.appendChild(script)}</script><style>.error,.loading,.transition{height:100%}.errorbody,.loadingbody,.transitionbody{height:100%}#loader{text-align:center;position:fixed;z-index:3;left:0;top:0;height:100%;width:100%;opacity:0;visibility:hidden;-webkit-transition:all.3s ease;transition:all.3s ease;background-color:rgba(255,255,255,.95)}.loading#loader{opacity:1;visibility:visible}.loading#loaderdiv{display:inline-block;width:50px;height:50px;vertical-align:middle;-webkit-border-radius:3px;border-radius:3px;background-color:#fff;-webkit-box-shadow:003pxrgba(0,0,0,.15);box-shadow:003pxrgba(0,0,0,.15)}.loading#loaderdiv:before{content:'';width:26px;height:26px;display:block;margin:8px auto0;-webkit-border-radius:20px;border-radius:20px;-webkit-animation:loading.5s linear forwards infinite;animation:loading.5s linear forwards infinite;border-top:4px solid#0089fa;border-right:4px solid#ff002b;border-bottom:4px solid#ffa900;border-left:4px solid#00a753}.loading#loader:after{content:'';display:inline-block;height:100%;vertical-align:middle}@keyframes loading{100%{transform:rotate(360deg)}}@-webkit-keyframes loading{100%{-webkit-transform:rotate(360deg)}}</style></head><body><divclass="page home"><divid="user"></div><divid="posts"></div></div><divclass="page single"><divid="post"></div><divid="comments"></div></div><divid="loader"><div></div></div><scripttype="text/javascript"src="build.5e65a42d.js"></script></body></html>
1+
<!DOCTYPE html><htmllang="en"class="loading"><head><metacharset="UTF-8"><metahttp-equiv="X-UA-Compatible"content="IE=edge"><linkrel="shortcut icon"type="image/x-icon"href="/favicon.ico"><metaname="viewport"content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no"><title>Loading...</title><script>window.config=$config</script><script>varua=window.navigator.userAgent;if(ua.indexOf("MSIE")>-1||ua.match(/Trident\/7\./)){varhead=document.getElementsByTagName("head")[0],script=document.createElement("script");script.type="text/javascript",script.src="promise.js",head.appendChild(script)}</script><style>.error,.loading,.transition{height:100%}.errorbody,.loadingbody,.transitionbody{height:100%}#loader{text-align:center;position:fixed;z-index:3;left:0;top:0;height:100%;width:100%;opacity:0;visibility:hidden;-webkit-transition:all.3s ease;transition:all.3s ease;background-color:rgba(255,255,255,.95)}.loading#loader{opacity:1;visibility:visible}.loading#loaderdiv{display:inline-block;width:50px;height:50px;vertical-align:middle;-webkit-border-radius:3px;border-radius:3px;background-color:#fff;-webkit-box-shadow:003pxrgba(0,0,0,.15);box-shadow:003pxrgba(0,0,0,.15)}.loading#loaderdiv:before{content:'';width:26px;height:26px;display:block;margin:8px auto0;-webkit-border-radius:20px;border-radius:20px;-webkit-animation:loading.5s linear forwards infinite;animation:loading.5s linear forwards infinite;border-top:4px solid#0089fa;border-right:4px solid#ff002b;border-bottom:4px solid#ffa900;border-left:4px solid#00a753}.loading#loader:after{content:'';display:inline-block;height:100%;vertical-align:middle}@keyframes loading{100%{transform:rotate(360deg)}}@-webkit-keyframes loading{100%{-webkit-transform:rotate(360deg)}}</style></head><body><divclass="page home"><divid="user"></div><divid="posts"></div></div><divclass="page single"><divid="post"></div><divid="comments"></div></div><divid="loader"><div></div></div><scripttype="text/javascript"src="build.71f40de6.js"></script></body></html>

‎package-lock.json‎

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

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"Mirror",
3-
"version":"1.4.2",
3+
"version":"1.5.0",
44
"description":"A blog tool powered by GitHub issues",
55
"preferGlobal":true,
66
"bin": {

‎release/mirror.zip‎

-879 Bytes
Binary file not shown.

‎src/style/reset.css‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ html, body {
44
-webkit-font-smoothing: antialiased;
55
-webkit-text-size-adjust:100%;
66
height:100%;
7+
overflow: hidden;
78
}
89
body {
910
font-family: apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, PingFang SC, Microsoft YaHei, sans-serif;
1011
font-size:14px;
11-
overflow-x: hidden;
12-
overflow-y: scroll;
1312
line-height:1;
1413
color:#333;
1514
position: relative;

‎src/switch/index.js‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ export async function switchToHome() {
88
awaitsleep(510)
99

1010
$('.single').removeClass('page-moveto').removeClass('page-current')
11-
$('#post').html('')
12-
$('#comments').html('')
1311
$('.home').removeClass('page-movefrom').addClass('page-current')
1412

1513
returnPromise.resolve()
@@ -22,8 +20,6 @@ export async function switchToPost() {
2220
awaitsleep(500)
2321

2422
$('.home').removeClass('page-moveto').removeClass('page-current')
25-
$('#posts').html('')
26-
$('#user').html('')
2723
$('.single').removeClass('page-movefrom').addClass('page-current')
2824

2925
returnPromise.resolve()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp