diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-09-10 14:35:15 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-09-10 14:35:15 +0200 |
| commit | 50bf754c8742a5b7d054b9d93f9d4e37c1641a01 (patch) | |
| tree | eeb7636d8e6e720499fa9eef18c057ed26f9ef04 /StoneIsland/www/css | |
| parent | 9cf4294fe8951f0a979d58f14b394cdf35af93aa (diff) | |
use native scrolling!! wooo!!! no more fastclick OR iscroll!! bye bye 2015!!!!
Diffstat (limited to 'StoneIsland/www/css')
| -rwxr-xr-x | StoneIsland/www/css/blogs.css | 5 | ||||
| -rwxr-xr-x | StoneIsland/www/css/index.css | 1 | ||||
| -rw-r--r-- | StoneIsland/www/css/vendor/imageviewer.css | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/StoneIsland/www/css/blogs.css b/StoneIsland/www/css/blogs.css index ee54a31f..f56ec474 100755 --- a/StoneIsland/www/css/blogs.css +++ b/StoneIsland/www/css/blogs.css @@ -36,7 +36,8 @@ text-decoration: underline; } #story .content > div { - display:none; + display: none; + padding-bottom: env(safe-area-inset-bottom); } #story .content div.active { display:block; @@ -340,7 +341,7 @@ ul.links { #archive .scroll { top: 0; left: 0; - height: calc(100% - 125px); + height: 100%; } #archive .row:first-of-type { margin-top: 7em; diff --git a/StoneIsland/www/css/index.css b/StoneIsland/www/css/index.css index d4336438..496a0ee4 100755 --- a/StoneIsland/www/css/index.css +++ b/StoneIsland/www/css/index.css @@ -59,6 +59,7 @@ a, a:visited { } .vscroll .scroll { width: 100%; + overflow-x: hidden; /* height: calc(100vh - 2.5rem); overflow: scroll; -webkit-overflow-scrolling: touch; diff --git a/StoneIsland/www/css/vendor/imageviewer.css b/StoneIsland/www/css/vendor/imageviewer.css index 739c37a1..90d80fde 100644 --- a/StoneIsland/www/css/vendor/imageviewer.css +++ b/StoneIsland/www/css/vendor/imageviewer.css @@ -26,7 +26,7 @@ height: 48px; position: fixed; right: 20px; - top: 20px; + top: calc(20px + env(safe-area-inset-top)); cursor: pointer; text-align: center; overflow: hidden; |
