style(linear): improves the title and toc of the linear layout

This makes the overflowed text in h1 ellipsis dots, and allows the toc to scroll when there are more files than fit comfortably in the 500px max-height given it.