Fossil SCM
For expanded view, use max-height:initial instead of some arbitrarily large value. That will effectively disable max-height. Change the pointer for the expand toggle to 'cursor'.
Commit
c824d1dc3e1c3fd5269767204445456002b63e7320840397d6bb0d6b2a3ccdec
Parent
1d467dcb71edb7c…
1 file changed
+2
-1
+2
-1
| --- src/default.css | ||
| +++ src/default.css | ||
| @@ -798,13 +798,14 @@ | ||
| 798 | 798 | label.forum-post-collapser { |
| 799 | 799 | align-self: flex-start; |
| 800 | 800 | padding: 0.1em 0.5em; |
| 801 | 801 | border: 1px outset; |
| 802 | 802 | border-radius: 0.25em; |
| 803 | + cursor: pointer; | |
| 803 | 804 | } |
| 804 | 805 | input[type=checkbox].forum-post-collapser:checked ~ div.forumPostBody { |
| 805 | - max-height: 10000em /* some "absurdly large" value */; | |
| 806 | + max-height: initial; | |
| 806 | 807 | } |
| 807 | 808 | |
| 808 | 809 | #capabilitySummary { |
| 809 | 810 | text-align: center; |
| 810 | 811 | } |
| 811 | 812 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -798,13 +798,14 @@ | |
| 798 | label.forum-post-collapser { |
| 799 | align-self: flex-start; |
| 800 | padding: 0.1em 0.5em; |
| 801 | border: 1px outset; |
| 802 | border-radius: 0.25em; |
| 803 | } |
| 804 | input[type=checkbox].forum-post-collapser:checked ~ div.forumPostBody { |
| 805 | max-height: 10000em /* some "absurdly large" value */; |
| 806 | } |
| 807 | |
| 808 | #capabilitySummary { |
| 809 | text-align: center; |
| 810 | } |
| 811 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -798,13 +798,14 @@ | |
| 798 | label.forum-post-collapser { |
| 799 | align-self: flex-start; |
| 800 | padding: 0.1em 0.5em; |
| 801 | border: 1px outset; |
| 802 | border-radius: 0.25em; |
| 803 | cursor: pointer; |
| 804 | } |
| 805 | input[type=checkbox].forum-post-collapser:checked ~ div.forumPostBody { |
| 806 | max-height: initial; |
| 807 | } |
| 808 | |
| 809 | #capabilitySummary { |
| 810 | text-align: center; |
| 811 | } |
| 812 |