From e0de77140f85fb61d6b331a84e3f7fbf78f3f62c Mon Sep 17 00:00:00 2001 From: dmc Date: Wed, 14 Feb 2024 01:18:12 +0100 Subject: [PATCH] touch up --- index.html | 10 ++++++---- lib/docs-viewer.js | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 8bfe4f5..3253a22 100644 --- a/index.html +++ b/index.html @@ -194,14 +194,16 @@ #version { position: fixed; top: 96vh; - font-size: 75%; + font-size: .6rem; background: #1a1a1a; color: white; opacity: 1; - padding: 10px; + padding: 8px; padding-top: 0px; padding-bottom: 0px; transition: top 0.3s; + border-radius: .35rem; + border: 1px solid #3a4816; } #version:hover { @@ -295,8 +297,8 @@ const { versions } = Pear process.env.WS_NO_BUFFER_UTIL = false // ws buffer-util opt-out versions().then(({ app, platform }) => { - document.querySelector('#platform-version').innerText = `Pear version: ${platform.fork}.${platform.length}.${platform.key}` - document.querySelector('#app-version').innerText = `App version: ${app.fork}.${app.length}.${app.key}` + document.querySelector('#platform-version').innerText = `Pear Runtime ${platform.fork}.${platform.length}.${platform.key}` + document.querySelector('#app-version').innerText = `Pear Rtm App ${app.fork}.${app.length}.${app.key}` }) diff --git a/lib/docs-viewer.js b/lib/docs-viewer.js index 5b5d8b3..8860f08 100644 --- a/lib/docs-viewer.js +++ b/lib/docs-viewer.js @@ -23,6 +23,7 @@ customElements.define('docs-viewer', class extends HTMLElement { this.template.innerHTML = `