diff --git a/static/demos/light-dark-demo-4/index.html b/static/demos/light-dark-demo-4/index.html index bef5017..904b9f2 100644 --- a/static/demos/light-dark-demo-4/index.html +++ b/static/demos/light-dark-demo-4/index.html @@ -36,13 +36,16 @@ } } - button { + input { transition-duration: 0.05s; transition-property: outline; transition-delay: 0s; + + margin: 10px; + width: revert; } - button:active { + input:active { outline: turquoise 5px solid; } diff --git a/static/demos/light-dark-demo-4/sw.js b/static/demos/light-dark-demo-4/sw.js index 40f8661..a21f034 100644 --- a/static/demos/light-dark-demo-4/sw.js +++ b/static/demos/light-dark-demo-4/sw.js @@ -49,6 +49,7 @@ function IDB_cond_create(db, objectStoreName, opts={}){ return new Promise((res)=>{ if(!db.objectStoreNames.contains(objectStoreName)){ db.createObjectStore(objectStoreName, opts); + } res(); }); }