Fix missing overlay on borders on iOS.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 7 Aug 2014 22:33:02 +0000 (00:33 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 7 Aug 2014 22:33:02 +0000 (00:33 +0200)
main.css

index 74250b84c1f40b2dcaf8d08ca2075871e1794414..7baf502a8f53da3017a040f3a3afff9475877c25 100644 (file)
--- a/main.css
+++ b/main.css
@@ -82,10 +82,10 @@ body {
 
 #overlay {
     position: fixed;
-    left: 0;
-    right: 0;
-    top: 0;
-    bottom: 0;
+    left: -50%;
+    right: -50%;
+    top: -50%;
+    bottom: -50%;
     background-color: black;
     opacity: 0;
     transition: opacity 0.5s;