Fossil

Check-in [b5acbe9b55]
Login

Check-in [b5acbe9b55]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:CSS changes to try to prevent over-width forum messages in the timeline display.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b5acbe9b55bb5e2bc971c532af972a1d1bd45217b7fd7ca26d3072736efa1066
User & Date: drh 2020-03-14 19:42:54.200
Context
2020-03-14
21:00
Add the nsm query parameter to /timeline for disabling the submenu. ... (check-in: 220ed0a939 user: drh tags: trunk)
19:42
CSS changes to try to prevent over-width forum messages in the timeline display. ... (check-in: b5acbe9b55 user: drh tags: trunk)
18:29
The new vfx query parameter on /timeline shows the formatted text of forum messages directly in the timeline. ... (check-in: c7a536ffa8 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/default_css.txt.
739
740
741
742
743
744
745








746
747
748
749
750
751
752
  border: 2px solid #ff0;
}
div.forumEdit {
  border: 1px solid black;
  padding-left: 1ex;
  padding-right: 1ex;
}








div.forumHier, div.forumTime {
  border: 1px solid black;
  padding-left: 1ex;
  padding-right: 1ex;
  margin-top: 1ex;
}
div.forumSel {







>
>
>
>
>
>
>
>







739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
  border: 2px solid #ff0;
}
div.forumEdit {
  border: 1px solid black;
  padding-left: 1ex;
  padding-right: 1ex;
}
div.forumTimeline {
  border: 1px solid black;
  padding-left: 1ex;
  padding-right: 1ex;
}
div.forumTimeline code {
  white-space: pre-line;
}
div.forumHier, div.forumTime {
  border: 1px solid black;
  padding-left: 1ex;
  padding-right: 1ex;
  margin-top: 1ex;
}
div.forumSel {
Changes to src/timeline.c.
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805

    /* Show the complete text of forum messages */
    if( (tmFlags & (TIMELINE_FORUMTXT))!=0
     && zType[0]=='f' && g.perm.Hyperlink
    ){
      Manifest *pPost = manifest_get(rid, CFTYPE_FORUM, 0);
      if( pPost ){
        forum_render(0, pPost->zMimetype, pPost->zWiki, "forumEdit");
        manifest_destroy(pPost);
      }
    }
  }
  if( suppressCnt ){
    @ <span class="timelineDisabled">... %d(suppressCnt) similar
    @ event%s(suppressCnt>1?"s":"") omitted.</span>







|







791
792
793
794
795
796
797
798
799
800
801
802
803
804
805

    /* Show the complete text of forum messages */
    if( (tmFlags & (TIMELINE_FORUMTXT))!=0
     && zType[0]=='f' && g.perm.Hyperlink
    ){
      Manifest *pPost = manifest_get(rid, CFTYPE_FORUM, 0);
      if( pPost ){
        forum_render(0, pPost->zMimetype, pPost->zWiki, "forumTimeline");
        manifest_destroy(pPost);
      }
    }
  }
  if( suppressCnt ){
    @ <span class="timelineDisabled">... %d(suppressCnt) similar
    @ event%s(suppressCnt>1?"s":"") omitted.</span>