Fossil SCM

Increase the dummy padding after some testing showed it to help when adding multiple attachments to a bottom-most post.

stephan 2026-06-10 08:48 UTC forum-editor-2026
Commit 6bcfdf15f7130590fa0103ba74f07cced43ce4770f5d09ddc0345796b993a485
--- src/fossil.page.forumpost.js
+++ src/fossil.page.forumpost.js
@@ -18,11 +18,11 @@
1818
the page to allow the preview widget to grow and shrink without
1919
(usually) scrolling, but whether it does so really depends on its
2020
size.
2121
*/
2222
const dummyPadding = D.div();
23
- dummyPadding.style.height = '50em';
23
+ dummyPadding.style.height = '75em';
2424
/* Keep track of ForumPostEditor instances so we can remove this
2525
padding when none are active. */
2626
dummyPadding.refs = new Set();
2727
F.dummyPadding = dummyPadding /* only for debugging */;
2828
2929
--- src/fossil.page.forumpost.js
+++ src/fossil.page.forumpost.js
@@ -18,11 +18,11 @@
18 the page to allow the preview widget to grow and shrink without
19 (usually) scrolling, but whether it does so really depends on its
20 size.
21 */
22 const dummyPadding = D.div();
23 dummyPadding.style.height = '50em';
24 /* Keep track of ForumPostEditor instances so we can remove this
25 padding when none are active. */
26 dummyPadding.refs = new Set();
27 F.dummyPadding = dummyPadding /* only for debugging */;
28
29
--- src/fossil.page.forumpost.js
+++ src/fossil.page.forumpost.js
@@ -18,11 +18,11 @@
18 the page to allow the preview widget to grow and shrink without
19 (usually) scrolling, but whether it does so really depends on its
20 size.
21 */
22 const dummyPadding = D.div();
23 dummyPadding.style.height = '75em';
24 /* Keep track of ForumPostEditor instances so we can remove this
25 padding when none are active. */
26 dummyPadding.refs = new Set();
27 F.dummyPadding = dummyPadding /* only for debugging */;
28
29

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button