From 2b9ad7b4a27959233cfb5a9553702526e2fbfcaf Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 27 Oct 2023 01:44:22 +0200 Subject: [PATCH] static: keep url
 at constant rendering height

---
 static/index.html | 6 ++++--
 static/urlgen.js  | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/static/index.html b/static/index.html
index 014f9b0..2414e15 100644
--- a/static/index.html
+++ b/static/index.html
@@ -50,14 +50,16 @@
         
-

+        
+        

Follow posts by instance

-

+        
+        
diff --git a/static/urlgen.js b/static/urlgen.js index 7a338ab..61ea949 100644 --- a/static/urlgen.js +++ b/static/urlgen.js @@ -7,7 +7,7 @@ var value = encodeURIComponent(inputEl.value.replace(/^#/, "")); preEl.innerText = value ? "https://" + document.location.host + "/" + id + "/" + value : - ""; + "\n"; }, 10); } inputEl.addEventListener('change', onChange);