From e756e6190640f3ff8d6e2051908dcef733119e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Wed, 22 Jul 2026 00:00:42 +0200 Subject: [PATCH] new functions --- Cargo.toml | 2 +- static/css/styles.css | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c722b91..1699950 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpad" -version = "0.0.2" +version = "0.0.3" 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 f2c5aa6..68d9d84 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -415,7 +415,7 @@ dialog::backdrop { background: rgba(4,6,9,.82); } .hide-line-numbers .preview-source-line::before { display: none; } -/* Extended Markdown */ + .markdown-body .table-wrap { overflow-x: auto; margin: .7em 0; } .markdown-body table { width: 100%; border-collapse: collapse; } .markdown-body th, .markdown-body td { padding: .55em .7em; border: 1px solid var(--border); vertical-align: top; } @@ -425,7 +425,6 @@ dialog::backdrop { background: rgba(4,6,9,.82); } .markdown-body dl { margin: .7em 0; } .markdown-body dt { font-weight: 750; } .markdown-body dd { margin: .25em 0 .65em 1.5em; color: #b9c2cf; } - .markdown-body .task-list{margin:0;padding:0;list-style:none} .markdown-body .task-list-item{position:relative;display:grid;grid-template-columns:1em minmax(0,1fr);grid-template-rows:1.32em;column-gap:.45em;align-items:center;min-height:1.32em;margin:0;padding:0;line-height:1.32} .markdown-body .task-list-item::before{position:absolute;top:0;right:calc(100% + 18px);width:32px;height:1.32em;line-height:1.32em;transform:none} @@ -434,8 +433,6 @@ dialog::backdrop { background: rgba(4,6,9,.82); } .hide-line-numbers .markdown-body .task-list-item::before{display:none} .compact-editor .markdown-body .task-list-item{grid-template-rows:1.24em;min-height:1.24em;line-height:1.24} .compact-editor .markdown-body .task-list-item::before,.compact-editor .markdown-body .task-list-item>span{height:1.24em;line-height:1.24} - -.markdown-body .task-list-item>span{min-width:0} .markdown-body .footnotes { margin-top: 1.5em; color: var(--muted); font-size: .88em; } .markdown-body .footnotes ol { padding-left: 1.5em; } .markdown-body .footnote-backref { text-decoration: none; }