From 099840d66a949e71ae3e9a0412193e4b85b3848c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Sun, 20 Sep 2026 14:57:30 +0200 Subject: [PATCH] v0.2.83 --- Cargo.lock | 2 +- Cargo.toml | 2 +- static/css/styles.css | 16 ++++++---------- static/js/note-files.js | 2 -- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8dc86d4..0a1179e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2581,7 +2581,7 @@ dependencies = [ [[package]] name = "rustpad" -version = "0.2.82" +version = "0.2.83" dependencies = [ "argon2", "aws-config", diff --git a/Cargo.toml b/Cargo.toml index 255f396..33bad75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpad" -version = "0.2.82" +version = "0.2.83" edition = "2024" rust-version = "1.94" description = "Collaborative Markdown notepad built with Axum, WebSockets and SQLite, PostgreSQL and MySQL" diff --git a/static/css/styles.css b/static/css/styles.css index 2b66c49..018753c 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -3026,19 +3026,15 @@ dialog::backdrop { text-overflow: ellipsis; } -.file-code-value:focus { +.file-code-value:focus, +.file-code-value:focus-visible { + border-color: transparent; + outline: none; + outline-offset: 0; + box-shadow: none; color: var(--text); } -.file-code .file-code-copy { - min-width: 58px; - min-height: 30px; - height: 30px; - padding: 0 10px; - border-radius: 6px; - font-size: 12.5px; -} - .file-secondary-actions [data-show-file-code][aria-pressed="true"] { border-color: var(--border-strong); background: var(--surface-2); diff --git a/static/js/note-files.js b/static/js/note-files.js index 7ad62da..114620a 100644 --- a/static/js/note-files.js +++ b/static/js/note-files.js @@ -474,8 +474,6 @@ export function bindNoteFiles({ editor, endpoints, getAccessToken, getUploadMaxS output.value = text; panel.hidden = false; row.querySelectorAll("[data-show-file-code]").forEach(button => button.setAttribute("aria-pressed", String(button === showButton))); - output.focus(); - output.select(); return; }