From 490716d87605a0b97f34c75b20e82bab76b7259f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Sun, 20 Sep 2026 14:50:29 +0200 Subject: [PATCH] v0.2.82 --- Cargo.lock | 2 +- Cargo.toml | 2 +- static/css/styles.css | 25 +++++++++++++++---------- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 464a662..8dc86d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2581,7 +2581,7 @@ dependencies = [ [[package]] name = "rustpad" -version = "0.2.81" +version = "0.2.82" dependencies = [ "argon2", "aws-config", diff --git a/Cargo.toml b/Cargo.toml index 4452a03..255f396 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpad" -version = "0.2.81" +version = "0.2.82" 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 96d16bb..2b66c49 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -2995,10 +2995,10 @@ dialog::backdrop { .file-code { display: grid; grid-template-columns: minmax(0, 1fr) auto; - gap: 5px; + gap: 6px; align-items: center; - min-height: 30px; - padding: 3px 4px 3px 9px; + min-height: 34px; + padding: 3px 4px 3px 10px; border: 1px solid var(--border); border-radius: 8px; background: color-mix(in srgb, var(--surface-2) 74%, transparent); @@ -3010,16 +3010,19 @@ dialog::backdrop { .file-code-value { width: 100%; - height: 24px; + height: 28px; min-width: 0; box-sizing: border-box; margin: 0; - padding: 0; + padding: 0 2px; border: 0; outline: 0; background: transparent; color: var(--text-secondary); - font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; + font-family: inherit; + font-size: 12.5px; + font-weight: 500; + line-height: 28px; text-overflow: ellipsis; } @@ -3027,11 +3030,13 @@ dialog::backdrop { color: var(--text); } -.file-code-copy { - min-width: 56px; - min-height: 28px; - padding: 4px 9px; +.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"] {