From 9fd5f03a31c76fd979cd07a07f05169679436bc8 Mon Sep 17 00:00:00 2001 From: Waren Gonzaga Date: Tue, 24 Nov 2020 07:15:55 +0800 Subject: [PATCH] Add attempt fix issue #9 --- demo/assets/css/fork-corner.min.css | 2 +- dist/fork-corner.css | 4 +--- dist/fork-corner.min.css | 2 +- source/_base.scss | 3 --- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/demo/assets/css/fork-corner.min.css b/demo/assets/css/fork-corner.min.css index 7fce38d..2f2e539 100644 --- a/demo/assets/css/fork-corner.min.css +++ b/demo/assets/css/fork-corner.min.css @@ -12,4 +12,4 @@ * Website: warengonzaga.com */ -html,body{overflow-x:hidden}body{touch-action:pan-y}#fork-corner{z-index:105;position:absolute}.fork-corner+div{position:absolute;width:200px;height:200px;z-index:100}.fork-corner.fc-pos-tr{top:16.66667px;right:16.66667px}.fork-corner.fc-pos-tr.fc-animate-default{transition:0.5s}.fork-corner.fc-pos-tr.fc-animate-default:hover{transform:rotate(45deg);transition:0.5s}.fork-corner.fc-pos-tr+div{top:-100px;right:-100px;transform:rotate(45deg)}.fork-corner.fc-pos-tl{top:16.66667px;left:16.66667px}.fork-corner.fc-pos-tl.fc-animate-default{transition:0.5s}.fork-corner.fc-pos-tl.fc-animate-default:hover{transform:rotate(-45deg);transition:0.5s}.fork-corner.fc-pos-tl+div{top:-100px;left:-100px;transform:rotate(45deg)}.fork-corner.fc-theme-default{text-decoration:none}.fork-corner.fc-theme-default>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-default+div{background-color:#f34f29}.fork-corner.fc-theme-github{text-decoration:none}.fork-corner.fc-theme-github>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-github+div{background-color:#181717}.fork-corner.fc-theme-gitlab{text-decoration:none}.fork-corner.fc-theme-gitlab>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-gitlab+div{background-color:#e24329}.fork-corner.fc-theme-bitbucket{text-decoration:none}.fork-corner.fc-theme-bitbucket>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-bitbucket+div{background-color:#205081} +html,body{overflow-x:hidden;touch-action:pan-y}#fork-corner{z-index:105;position:absolute}.fork-corner+div{position:absolute;width:200px;height:200px;z-index:100}.fork-corner.fc-pos-tr{top:16.66667px;right:16.66667px}.fork-corner.fc-pos-tr.fc-animate-default{transition:0.5s}.fork-corner.fc-pos-tr.fc-animate-default:hover{transform:rotate(45deg);transition:0.5s}.fork-corner.fc-pos-tr+div{top:-100px;right:-100px;transform:rotate(45deg)}.fork-corner.fc-pos-tl{top:16.66667px;left:16.66667px}.fork-corner.fc-pos-tl.fc-animate-default{transition:0.5s}.fork-corner.fc-pos-tl.fc-animate-default:hover{transform:rotate(-45deg);transition:0.5s}.fork-corner.fc-pos-tl+div{top:-100px;left:-100px;transform:rotate(45deg)}.fork-corner.fc-theme-default{text-decoration:none}.fork-corner.fc-theme-default>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-default+div{background-color:#f34f29}.fork-corner.fc-theme-github{text-decoration:none}.fork-corner.fc-theme-github>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-github+div{background-color:#181717}.fork-corner.fc-theme-gitlab{text-decoration:none}.fork-corner.fc-theme-gitlab>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-gitlab+div{background-color:#e24329}.fork-corner.fc-theme-bitbucket{text-decoration:none}.fork-corner.fc-theme-bitbucket>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-bitbucket+div{background-color:#205081} diff --git a/dist/fork-corner.css b/dist/fork-corner.css index 5ae5f56..a116e69 100644 --- a/dist/fork-corner.css +++ b/dist/fork-corner.css @@ -13,9 +13,7 @@ */ html, body { - overflow-x: hidden; } - -body { + overflow-x: hidden; touch-action: pan-y; } #fork-corner { diff --git a/dist/fork-corner.min.css b/dist/fork-corner.min.css index 7fce38d..2f2e539 100644 --- a/dist/fork-corner.min.css +++ b/dist/fork-corner.min.css @@ -12,4 +12,4 @@ * Website: warengonzaga.com */ -html,body{overflow-x:hidden}body{touch-action:pan-y}#fork-corner{z-index:105;position:absolute}.fork-corner+div{position:absolute;width:200px;height:200px;z-index:100}.fork-corner.fc-pos-tr{top:16.66667px;right:16.66667px}.fork-corner.fc-pos-tr.fc-animate-default{transition:0.5s}.fork-corner.fc-pos-tr.fc-animate-default:hover{transform:rotate(45deg);transition:0.5s}.fork-corner.fc-pos-tr+div{top:-100px;right:-100px;transform:rotate(45deg)}.fork-corner.fc-pos-tl{top:16.66667px;left:16.66667px}.fork-corner.fc-pos-tl.fc-animate-default{transition:0.5s}.fork-corner.fc-pos-tl.fc-animate-default:hover{transform:rotate(-45deg);transition:0.5s}.fork-corner.fc-pos-tl+div{top:-100px;left:-100px;transform:rotate(45deg)}.fork-corner.fc-theme-default{text-decoration:none}.fork-corner.fc-theme-default>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-default+div{background-color:#f34f29}.fork-corner.fc-theme-github{text-decoration:none}.fork-corner.fc-theme-github>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-github+div{background-color:#181717}.fork-corner.fc-theme-gitlab{text-decoration:none}.fork-corner.fc-theme-gitlab>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-gitlab+div{background-color:#e24329}.fork-corner.fc-theme-bitbucket{text-decoration:none}.fork-corner.fc-theme-bitbucket>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-bitbucket+div{background-color:#205081} +html,body{overflow-x:hidden;touch-action:pan-y}#fork-corner{z-index:105;position:absolute}.fork-corner+div{position:absolute;width:200px;height:200px;z-index:100}.fork-corner.fc-pos-tr{top:16.66667px;right:16.66667px}.fork-corner.fc-pos-tr.fc-animate-default{transition:0.5s}.fork-corner.fc-pos-tr.fc-animate-default:hover{transform:rotate(45deg);transition:0.5s}.fork-corner.fc-pos-tr+div{top:-100px;right:-100px;transform:rotate(45deg)}.fork-corner.fc-pos-tl{top:16.66667px;left:16.66667px}.fork-corner.fc-pos-tl.fc-animate-default{transition:0.5s}.fork-corner.fc-pos-tl.fc-animate-default:hover{transform:rotate(-45deg);transition:0.5s}.fork-corner.fc-pos-tl+div{top:-100px;left:-100px;transform:rotate(45deg)}.fork-corner.fc-theme-default{text-decoration:none}.fork-corner.fc-theme-default>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-default+div{background-color:#f34f29}.fork-corner.fc-theme-github{text-decoration:none}.fork-corner.fc-theme-github>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-github+div{background-color:#181717}.fork-corner.fc-theme-gitlab{text-decoration:none}.fork-corner.fc-theme-gitlab>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-gitlab+div{background-color:#e24329}.fork-corner.fc-theme-bitbucket{text-decoration:none}.fork-corner.fc-theme-bitbucket>i{font-size:50px;color:#ffffff}.fork-corner.fc-theme-bitbucket+div{background-color:#205081} diff --git a/source/_base.scss b/source/_base.scss index 0c3caea..8f21fd0 100644 --- a/source/_base.scss +++ b/source/_base.scss @@ -1,8 +1,5 @@ html, body { overflow-x: hidden; -} - -body { touch-action: pan-y; }