Fossil

Check-in [c5a4fe54ec]
Login

Check-in [c5a4fe54ec]

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

Overview
Comment:Resolve the awkward misalignment of consecutive diff chunks, thanks to a hint from [forum:85ab14eecd|forum post 85ab14eecd].
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | sbs-diff-css
Files: files | file ages | folders
SHA3-256: c5a4fe54ec2b865c9292d076b57b32bb093ac07d500441a9d23b59779d4bf071
User & Date: stephan 2024-07-31 19:54:41.997
Context
2024-08-05
15:10
Replace the JavaScript-based side-by-side diff view with a CSS Grid, as discussed in [forum:93398561d3986c41|forum post 93398561d3986c41]. ... (check-in: 71e9ca7869 user: stephan tags: trunk)
2024-07-31
19:54
Resolve the awkward misalignment of consecutive diff chunks, thanks to a hint from [forum:85ab14eecd|forum post 85ab14eecd]. ... (Closed-Leaf check-in: c5a4fe54ec user: stephan tags: sbs-diff-css)
11:14
In the diff chunk loader, remove stray calls to the JS code which was removed in [61fd1e841fd]. ... (check-in: ac965480d4 user: stephan tags: sbs-diff-css)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/default.css.
666
667
668
669
670
671
672
673
674
675
676
677


678
679
680
681
682
683
684
  content: '⇡⇣';
}
tr.diffskip > td.chunkctrl .jcbutton:hover {
  cursor: pointer;
  opacity: 1;
  filter: contrast(1);
}

table.splitdiff tr.diffchunk {
  display: grid;
  gap: 0px 0px;
  grid-template-rows: 1fr;


  grid-template-columns: auto 1fr auto auto 1fr;
  grid-template-areas: "difflnl difftxtl diffsep difflnr difftxtr";
}
table.udiff tr.diffchunk {
  grid-template-columns: auto auto auto 1fr;
  grid-template-areas: "difflnl difflnr diffsep difftxtu";
}







<
|



>
>







666
667
668
669
670
671
672

673
674
675
676
677
678
679
680
681
682
683
684
685
  content: '⇡⇣';
}
tr.diffskip > td.chunkctrl .jcbutton:hover {
  cursor: pointer;
  opacity: 1;
  filter: contrast(1);
}

tr.diffchunk {
  display: grid;
  gap: 0px 0px;
  grid-template-rows: 1fr;
}
table.splitdiff tr.diffchunk {
  grid-template-columns: auto 1fr auto auto 1fr;
  grid-template-areas: "difflnl difftxtl diffsep difflnr difftxtr";
}
table.udiff tr.diffchunk {
  grid-template-columns: auto auto auto 1fr;
  grid-template-areas: "difflnl difflnr diffsep difftxtu";
}