From 4d03d4e3c0d6902fcaf911a79b2fbc0f943c8c9f Mon Sep 17 00:00:00 2001 From: Pagwin Date: Tue, 2 Sep 2025 16:22:20 -0400 Subject: [PATCH] minor style changes and fix 4 --- static/demos/light-dark-demo-4/index.html | 7 +++++-- static/demos/light-dark-demo-4/sw.js | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) 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(); }); }