Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Removed obsolete references to CSS class div.div.forumHierRoot: no current code uses these. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | default-css-cleanups |
| Files: | files | file ages | folders |
| SHA3-256: |
361b9e4e31bb61607a8f7a8650c688a6 |
| User & Date: | wyoung 2020-11-05 23:42:42.955 |
Context
|
2020-11-05
| ||
| 23:46 | Ditto forumHier: unused! ... (check-in: 2de7dbbfcf user: wyoung tags: default-css-cleanups) | |
| 23:42 | Removed obsolete references to CSS class div.div.forumHierRoot: no current code uses these. ... (check-in: 361b9e4e31 user: wyoung tags: default-css-cleanups) | |
| 23:41 | Using the new "forum" page type to simplify repetitive CSS rules. ... (check-in: 064c677a70 user: wyoung tags: default-css-cleanups) | |
Changes
Changes to src/default.css.
| ︙ | ︙ | |||
756 757 758 759 760 761 762 |
}
div.forumHier, div.forumTime {
border: 1px solid black;
padding-left: 1ex;
padding-right: 1ex;
margin-top: 1ex;
}
| | | 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 |
}
div.forumHier, div.forumTime {
border: 1px solid black;
padding-left: 1ex;
padding-right: 1ex;
margin-top: 1ex;
}
div.forumHier, div.forumTime {
display: flex;
flex-direction: column;
}
.forum > div > form {
margin: 0.5em 0;
}
.forum-post-collapser {
|
| ︙ | ︙ |
Changes to src/fossil.page.forumpost.js.
| ︙ | ︙ | |||
43 44 45 46 47 48 49 |
};
/* Adds an Expand/Collapse toggle to all div.forumPostBody
elements which are deemed "too large" (those for which
scrolling is currently activated because they are taller than
their max-height). */
document.querySelectorAll(
| | | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
};
/* Adds an Expand/Collapse toggle to all div.forumPostBody
elements which are deemed "too large" (those for which
scrolling is currently activated because they are taller than
their max-height). */
document.querySelectorAll(
'div.forumHier, div.forumTime, div.forumEdit'
).forEach(function f(forumPostWrapper){
const content = forumPostWrapper.querySelector('div.forumPostBody');
if(!content || !scrollbarIsVisible(content)) return;
const parent = content.parentElement,
widget = D.addClass(
D.div(),
'forum-post-collapser','bottom'
|
| ︙ | ︙ |