diff options
| author | winter | 2025-03-22 19:41:55 +0000 |
|---|---|---|
| committer | winter | 2025-03-22 19:41:55 +0000 |
| commit | 39fcc5d52ac4c6e76ff87d95ef5b4b63300fe071 (patch) | |
| tree | 75b83a228906064e80160359a76fa3820a9449eb /static | |
| parent | b535baf69b9a2525bc8a33b9c96460b84af8e6e2 (diff) | |
implement editing pages
Diffstat (limited to 'static')
| -rw-r--r-- | static/form.css | 11 | ||||
| -rw-r--r-- | static/note.css | 1 | ||||
| -rw-r--r-- | static/pages.css | 8 |
3 files changed, 20 insertions, 0 deletions
diff --git a/static/form.css b/static/form.css index 12e3ab3..f807e4f 100644 --- a/static/form.css +++ b/static/form.css @@ -197,6 +197,17 @@ form:not(.nopanel) { } } + &.pageEditForm { + max-width: 100%; + input, + textarea { + width: 100%; + } + textarea { + height: 16lh; + } + } + .actionButtons { display: grid; justify-content: end; diff --git a/static/note.css b/static/note.css index 8fa8424..09dbd60 100644 --- a/static/note.css +++ b/static/note.css @@ -75,6 +75,7 @@ article.note { padding: var(--spacing-half) 0; overflow-x: hidden; overflow-wrap: break-word; + word-break: break-word; .selected & { font-size: var(--font-big-size); } diff --git a/static/pages.css b/static/pages.css index e476d04..84c872f 100644 --- a/static/pages.css +++ b/static/pages.css @@ -14,6 +14,13 @@ margin: var(--spacing-double) 0; } } + +.pageHeader { + display: grid; + grid-template-columns: 1fr max-content; + align-items: end; +} + .pageAuthor { display: flex; gap: var(--spacing-single); @@ -40,6 +47,7 @@ margin-top: var(--spacing-double); overflow-x: hidden; overflow-wrap: break-word; + word-break: break-word; p, ul, |
