summaryrefslogtreecommitdiffstats
path: root/BrowserSource
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-07-12 15:53:19 -0700
committeryum <yum.food.vr@gmail.com>2024-07-12 15:53:19 -0700
commit861df4f98db7c8a87fd11f9081b0c8c6d6d40f29 (patch)
tree2c9e5a41f06c80d5c0da0041c89d87666fdbe4b5 /BrowserSource
parent426d0139273a3112ed18f1b7c39eb75b9278fbe1 (diff)
Fix spacing in browser source
Diffstat (limited to 'BrowserSource')
-rw-r--r--BrowserSource/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/BrowserSource/index.html b/BrowserSource/index.html
index 216e013..d677eb6 100644
--- a/BrowserSource/index.html
+++ b/BrowserSource/index.html
@@ -82,7 +82,7 @@
let opacity = 1.0 - (age - min_age_s) / (max_age_s - min_age_s);
opacity = Math.max(0, opacity);
opacity = Math.min(1, opacity);
- transcriptHtml += `<span class="transcript" style="opacity: ${opacity};">${commit.delta}</span>`;
+ transcriptHtml += `<span class="transcript" style="opacity: ${opacity};">${commit.delta.trim() + ' '}</span>`;
});
// Append the preview with full opacity if it exists