Closed gareys closed 5 years ago
https://github.com/marijnh/Eloquent-JavaScript/pull/444 should do the trick.
Are you saying your browser window is 1160px wide? For me, at that width, there's plenty room for the part titles. But maybe that's because we have different fonts. Does patch cbd502c help?
Patch cbd502c didn't seem to affect the overlapping issues in the table of contents. See below: Notice chapter 1**
Screen resolution is 1680px wide.
Browser: Chrome 66 OS: Mac OS High Sierra 10.13.3
Screen resolution is 1680px wide.
Ahh, the font chosen on your system is way wider than the one I get. And I screwed up the flexbox styles so that the TOC doesn't get wider than 500px, so the extra screen space didn't work.
Patch bd97dcd fixes the width and makes the part headers float, so that the browser will wrap text to avoid overlap. Is that better?
:clap: So much better.
Browser: Chrome Version 66.0.3359.181 (Official Build) (64-bit) OS: Windows 10 Breakpoint: Desktop (>=1160px)
In the table of contents, the text
(Part 1: Language)
overlaps the1. Values, Types, and Operators
text.I was able to fix this by updating the
.toc h3
css styles:This is how it looks with the applied styles: