Fossil SCM
Increase the dummy padding after some testing showed it to help when adding multiple attachments to a bottom-most post.
Commit
6bcfdf15f7130590fa0103ba74f07cced43ce4770f5d09ddc0345796b993a485
Parent
d6f86204fe2639a…
1 file changed
+1
-1
+1
-1
| --- src/fossil.page.forumpost.js | ||
| +++ src/fossil.page.forumpost.js | ||
| @@ -18,11 +18,11 @@ | ||
| 18 | 18 | the page to allow the preview widget to grow and shrink without |
| 19 | 19 | (usually) scrolling, but whether it does so really depends on its |
| 20 | 20 | size. |
| 21 | 21 | */ |
| 22 | 22 | const dummyPadding = D.div(); |
| 23 | - dummyPadding.style.height = '50em'; | |
| 23 | + dummyPadding.style.height = '75em'; | |
| 24 | 24 | /* Keep track of ForumPostEditor instances so we can remove this |
| 25 | 25 | padding when none are active. */ |
| 26 | 26 | dummyPadding.refs = new Set(); |
| 27 | 27 | F.dummyPadding = dummyPadding /* only for debugging */; |
| 28 | 28 | |
| 29 | 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 = '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 |