From 4643de4309b54391d27a97c35eb3dafd1c72549f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Wed, 5 Aug 2026 23:07:51 +0200 Subject: [PATCH] fixes and functions --- Cargo.lock | 2 +- Cargo.toml | 2 +- static/css/styles.css | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0c2959b..aa54771 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2581,7 +2581,7 @@ dependencies = [ [[package]] name = "rustpad" -version = "0.2.42" +version = "0.2.43" dependencies = [ "argon2", "aws-config", diff --git a/Cargo.toml b/Cargo.toml index 65664aa..83e00cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpad" -version = "0.2.42" +version = "0.2.43" 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 0afe0c5..a628e0b 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -2269,6 +2269,9 @@ dialog::backdrop { .note-card-wrap { position: relative; + display: flex; + flex-direction: column; + min-width: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); @@ -2276,6 +2279,9 @@ dialog::backdrop { } .note-card-wrap .note-card { + display: flex; + flex: 1 1 auto; + flex-direction: column; border: 0; border-radius: 0; } @@ -2794,7 +2800,8 @@ dialog::backdrop { .note-card-meta { display: grid; gap: 5px; - margin-top: 28px; + margin-top: auto; + padding-top: 28px; color: var(--muted); font-size: .75rem; }