Skip to content

Commit 9cb19ee

Browse files
committed
fix: peak popup backdrop was static — !important on background-position blocked the drift animation
1 parent dc35fac commit 9cb19ee

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

static/map.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221200%22%20height%3D%22240%22%20viewBox%3D%220%200%201200%20240%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22rgba(126%2C200%2C126%2C0.075)%22%20d%3D%22M0%2C150%20C100%2C120%20200%2C120%20300%2C150%20C400%2C180%20500%2C180%20600%2C150%20C700%2C120%20800%2C120%20900%2C150%20C1000%2C180%201100%2C180%201200%2C150%20L1200%2C240%20L0%2C240%20Z%22%2F%3E%3C%2Fsvg%3E"),
357357
url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221200%22%20height%3D%22240%22%20viewBox%3D%220%200%201200%20240%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22rgba(126%2C200%2C126%2C0.11)%22%20d%3D%22M0%2C178%20C100%2C222%20200%2C222%20300%2C178%20C400%2C134%20500%2C134%20600%2C178%20C700%2C222%20800%2C222%20900%2C178%20C1000%2C134%201100%2C134%201200%2C178%20L1200%2C240%20L0%2C240%20Z%22%2F%3E%3C%2Fsvg%3E") !important;
358358
background-repeat: repeat-x, repeat-x !important;
359-
background-position: 0 100%, 0 100% !important;
359+
background-position: 0 100%, 0 100%; /* not !important — animation must be able to move it */
360360
background-size: 1200px 150px, 1200px 190px !important;
361361
border: 1px solid #4a7a4a !important;
362362
border-radius: 10px !important;

static/sw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const CACHE = 'pt-v30';
1+
const CACHE = 'pt-v31';
22
const STATIC = [
33
'/', '/map.html', '/challenge.html', '/calendar/', '/login.html',
44
'/i18n.js', '/manifest.json', '/icon-192.png', '/icon-512.png',

0 commit comments

Comments
 (0)