author fix

This commit is contained in:
Mateusz Gruszczyński
2026-07-25 19:15:56 +02:00
parent 3fc3a7a150
commit ccde496e55
3 changed files with 195 additions and 193 deletions
Generated
+1 -1
View File
@@ -2433,7 +2433,7 @@ dependencies = [
[[package]]
name = "rustpad"
version = "0.0.28"
version = "0.0.29"
dependencies = [
"argon2",
"aws-config",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "rustpad"
version = "0.0.28"
version = "0.0.29"
edition = "2024"
rust-version = "1.94"
description = "Collaborative Markdown notepad built with Axum, WebSockets and SQLite, PostgreSQL and MySQL"
+3 -1
View File
@@ -61,7 +61,9 @@ function renderGutter() {
if (showSingleOwner) {
const owner = owners[0];
const top = paddingTop - editor.scrollTop;
ownerLabels.innerHTML = `<span class="owner-label-group" style="top:${top}px"><span class="owner-label" style="--owner:${colorFor(owner)}">${escapeHtml(ownerName(owner))}</span></span>`;
const markerHeight = Math.max(lineHeight, lineCount * lineHeight);
const ownerColor = colorFor(owner);
ownerLabels.innerHTML = `<span class="owner-line owner-line--document" style="top:${top}px;height:${markerHeight}px;--owner:${ownerColor}"></span><span class="owner-label-group" style="top:${top}px"><span class="owner-label" style="--owner:${ownerColor}">${escapeHtml(ownerName(owner))}</span></span>`;
} else {
let previousAuthorSignature = null;
ownerLabels.innerHTML = lines.map((_, i) => {