Primarily addresses #1813 where books with unnumbered sections looked strange in the credits tab with an orphaned colon. Now the colon is omitted if there's no numbering.
Still present if there is numbering:
While there, did a few purely stylistic changes that I feel tighten up the page:
The header had been largely undefined in its style and inherited whatever the browser default was for h3. I set it to match the styling and alignment of the casebook title on the detail page. Now when switching between these tabs the alignment is consistent.
Same with the overall padding and margin of the content area—it should now match the detail page.
Other style changes:
Don't show the "Authors" heading if there are no authors to attribute (common in early drafts)
Tightened up some seemingly-arbitrary indenting for the casebook nodes.
Primarily addresses #1813 where books with unnumbered sections looked strange in the credits tab with an orphaned colon. Now the colon is omitted if there's no numbering.
Still present if there is numbering:
While there, did a few purely stylistic changes that I feel tighten up the page:
The header had been largely undefined in its style and inherited whatever the browser default was for
h3
. I set it to match the styling and alignment of the casebook title on the detail page. Now when switching between these tabs the alignment is consistent.Same with the overall padding and margin of the content area—it should now match the detail page.
Other style changes:
Before
After