diff --git a/.env.example b/.env.example index 4b1a8ac..289b8b7 100644 --- a/.env.example +++ b/.env.example @@ -32,7 +32,7 @@ RUST_LOG=rustpad=info,tower_http=warn # Maximum upload size UPLOAD_MAX_SIZE_MB=20 -GUEST_UPLOAD_ENABLED=fakse +GUEST_UPLOAD_ENABLED=false GUEST_UPLOAD_MAX_SIZE_MB=5 # Attachment storage: local or s3 diff --git a/Cargo.lock b/Cargo.lock index 9ce3262..bbae90c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2581,7 +2581,7 @@ dependencies = [ [[package]] name = "rustpad" -version = "0.2.35" +version = "0.2.36" dependencies = [ "argon2", "aws-config", diff --git a/Cargo.toml b/Cargo.toml index 9ee147c..9c574b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpad" -version = "0.2.35" +version = "0.2.36" 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 bdd9143..be25fb9 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -6883,11 +6883,11 @@ dialog::backdrop { grid-column: 1 / -1; grid-row: 2; width: 100%; - min-height: 36px; + min-height: 1vh; align-items: center; justify-content: center; gap: 7px; - padding: 7px 12px; + padding: 4px 6px; border: 1px solid var(--toolbar-action-border); border-radius: 8px; background: var(--toolbar-action-bg); @@ -6918,5 +6918,4 @@ dialog::backdrop { grid-column: 3; grid-row: 1; } -} - +} \ No newline at end of file diff --git a/static/editor.html b/static/editor.html index 302f6bd..65ec209 100644 --- a/static/editor.html +++ b/static/editor.html @@ -117,7 +117,7 @@ + title="Upload an image or file"> Upload file
- + +
diff --git a/static/workspace.html b/static/workspace.html index 51b1026..67df1f0 100644 --- a/static/workspace.html +++ b/static/workspace.html @@ -7,7 +7,7 @@ __WORKSPACE_TITLE__ · RustPad __APP_THEME_BOOTSTRAP__ - __APP_STYLESHEET__ + __APP_STYLESHEET__ __APP_IMPORT_MAP__ __APP_ENTRYPOINT__ @@ -35,13 +35,21 @@
- - + + View