author fix
This commit is contained in:
Generated
+1
-1
@@ -2433,7 +2433,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rustpad"
|
||||
version = "0.0.28"
|
||||
version = "0.0.29"
|
||||
dependencies = [
|
||||
"argon2",
|
||||
"aws-config",
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user