summaryrefslogtreecommitdiff
path: root/StoneIsland/www/css
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-09-10 14:35:15 +0200
committerJules Laplace <julescarbon@gmail.com>2020-09-10 14:35:15 +0200
commit50bf754c8742a5b7d054b9d93f9d4e37c1641a01 (patch)
treeeeb7636d8e6e720499fa9eef18c057ed26f9ef04 /StoneIsland/www/css
parent9cf4294fe8951f0a979d58f14b394cdf35af93aa (diff)
use native scrolling!! wooo!!! no more fastclick OR iscroll!! bye bye 2015!!!!
Diffstat (limited to 'StoneIsland/www/css')
-rwxr-xr-xStoneIsland/www/css/blogs.css5
-rwxr-xr-xStoneIsland/www/css/index.css1
-rw-r--r--StoneIsland/www/css/vendor/imageviewer.css2
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;