diff options
| author | Yuval Adam <_@yuv.al> | 2018-11-23 15:37:36 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2018-11-23 15:37:36 +0200 |
| commit | 7084c5833937c1f2b3fbb2e61a61858c7c68df7c (patch) | |
| tree | 14e65e3ceda357ac618f1035d24a33b3fb4b025c /src | |
| parent | 98e78d07a7a500b1bcd49dad447c8703c0fa606d (diff) | |
Disable scroll bounce on mobile devices
Diffstat (limited to 'src')
| -rw-r--r-- | src/Geshem.css | 4 | ||||
| -rw-r--r-- | src/index.css | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/Geshem.css b/src/Geshem.css index 22915d6..02fb0ae 100644 --- a/src/Geshem.css +++ b/src/Geshem.css @@ -11,15 +11,17 @@ color: white; font-family: monospace; } + #date { font-size: 1.4em; } + #time { font-size: 1.8em; } #slider { - position: absolute; + position: fixed; bottom: 8vh; width: 30vw; margin-left: 35vw; diff --git a/src/index.css b/src/index.css index 6c06094..822eb36 100644 --- a/src/index.css +++ b/src/index.css @@ -1,6 +1,10 @@ body { margin: 0; padding: 0; + position: fixed; + overflow: hidden; + width: 100vw; + height: 100vh; user-select: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", |
