Closed ricefield closed 10 years ago
For indented entries in the TOC, if the chapter name is longer than the width of the TOC box, the name will wrap to the second line and be unaligned. Instead of wrapping, just truncate the chapter name using text-overflow: ellipsis.
example: I modified a chapter title in the Dickens example (http://test.monoclejs.com/test/showcase/02-dickens/index.html)
becomes
Thanks for contributing!
For indented entries in the TOC, if the chapter name is longer than the width of the TOC box, the name will wrap to the second line and be unaligned. Instead of wrapping, just truncate the chapter name using text-overflow: ellipsis.
example: I modified a chapter title in the Dickens example (http://test.monoclejs.com/test/showcase/02-dickens/index.html)
becomes