This commit is contained in:
Mateusz Gruszczyński
2026-09-20 14:57:30 +02:00
parent 490716d876
commit 099840d66a
4 changed files with 8 additions and 14 deletions
Generated
+1 -1
View File
@@ -2581,7 +2581,7 @@ dependencies = [
[[package]] [[package]]
name = "rustpad" name = "rustpad"
version = "0.2.82" version = "0.2.83"
dependencies = [ dependencies = [
"argon2", "argon2",
"aws-config", "aws-config",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "rustpad" name = "rustpad"
version = "0.2.82" version = "0.2.83"
edition = "2024" edition = "2024"
rust-version = "1.94" rust-version = "1.94"
description = "Collaborative Markdown notepad built with Axum, WebSockets and SQLite, PostgreSQL and MySQL" description = "Collaborative Markdown notepad built with Axum, WebSockets and SQLite, PostgreSQL and MySQL"
+6 -10
View File
@@ -3026,19 +3026,15 @@ dialog::backdrop {
text-overflow: ellipsis; 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); 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"] { .file-secondary-actions [data-show-file-code][aria-pressed="true"] {
border-color: var(--border-strong); border-color: var(--border-strong);
background: var(--surface-2); background: var(--surface-2);
-2
View File
@@ -474,8 +474,6 @@ export function bindNoteFiles({ editor, endpoints, getAccessToken, getUploadMaxS
output.value = text; output.value = text;
panel.hidden = false; panel.hidden = false;
row.querySelectorAll("[data-show-file-code]").forEach(button => button.setAttribute("aria-pressed", String(button === showButton))); row.querySelectorAll("[data-show-file-code]").forEach(button => button.setAttribute("aria-pressed", String(button === showButton)));
output.focus();
output.select();
return; return;
} }