« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--static/site.css2
-rw-r--r--upd8.js5
2 files changed, 6 insertions, 1 deletions
diff --git a/static/site.css b/static/site.css
index 9f6d217..69d3e9f 100644
--- a/static/site.css
+++ b/static/site.css
@@ -449,6 +449,8 @@ h1 {
 
 .reveal {
     position: relative;
+    width: 100%;
+    height: 100%;
 }
 
 .reveal img {
diff --git a/upd8.js b/upd8.js
index 2a3cbac..34e97d8 100644
--- a/upd8.js
+++ b/upd8.js
@@ -1866,7 +1866,10 @@ async function writeFlashPage(flash) {
         main: {
             content: fixWS`
                 <h1>${flash.name}</h1>
-                <a id="cover-art" href="${getFlashCover(flash)}"><img src="${getFlashCover(flash)}" alt="cover art"></a>
+                ${generateCoverLink({
+                    src: getFlashCover(flash),
+                    alt: 'cover art'
+                })}
                 <p>Released ${getDateString(flash)}.</p>
                 ${(flash.page || flash.urls.length) && `<p>Play on ${joinNoOxford(
                     [