diff --git a/src/theme/book.css b/src/theme/book.css index 108e39e0..27179864 100644 --- a/src/theme/book.css +++ b/src/theme/book.css @@ -40,6 +40,9 @@ h3 { left: -300px; } } +.sidebar code { + line-height: 2em; +} .sidebar-hidden .sidebar { left: -300px; } diff --git a/src/theme/stylus/sidebar.styl b/src/theme/stylus/sidebar.styl index 9ce7caff..292038da 100644 --- a/src/theme/stylus/sidebar.styl +++ b/src/theme/stylus/sidebar.styl @@ -18,6 +18,10 @@ @media only screen and (max-width: 1060px) { left: - $sidebar-width } + + code { + line-height: 2em; + } } .sidebar-hidden .sidebar {