Fix wrapping in code tags

Closes #233
This commit is contained in:
Dougal Matthews
2014-11-20 08:58:55 +00:00
parent 39756d3f07
commit 1fbdc5e94e

View File

@@ -1,6 +1,8 @@
/*
* Sphinx doesn't have support for section dividers like we do in
* MkDocs, this styles the section titles in the nav
*
* https://github.com/tomchristie/mkdocs/issues/175
*/
.wy-menu-vertical span {
line-height: 18px;
@@ -14,8 +16,19 @@
/*
* Long navigations run off the bottom of the screen as the nav
* area doesn't scroll.
*
* https://github.com/tomchristie/mkdocs/pull/202
*/
.wy-nav-side {
height: 100%;
overflow-y: auto;
}
/*
* Fix wrapping in the code highlighting
*
* https://github.com/tomchristie/mkdocs/issues/233
*/
code {
white-space: pre;
}