Skip to content

Commit 1b43a8e

Browse files
authored
Merge branch 'master' into bottom-margin-in-tables
2 parents bdd313a + 8e86b27 commit 1b43a8e

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

docs/changelog.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
Changelog
44
*********
55

6+
master
7+
======
8+
9+
New Features
10+
-------------
11+
12+
Fixes
13+
-----
14+
15+
* Fix small styling issues
16+
17+
Other Changes
18+
--------------
19+
20+
621
v0.3.1
722
======
823

js/theme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function ThemeNav () {
2222
// out from the RTD assets. This just ensures old projects that are
2323
// calling `enable()` get the sticky menu on by default. All other cals
2424
// to `enable` should include an argument for enabling the sticky menu.
25-
if (typeof(withStickNav) == 'undefined') {
25+
if (typeof(withStickyNav) == 'undefined') {
2626
withStickyNav = true;
2727
}
2828

sass/_theme_rst.sass

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
.line-block
133133
margin-left: 0px
134134
margin-bottom: $base-line-height
135+
line-height: $base-line-height
135136
.line-block .line-block
136137
margin-left: $base-line-height
137138
margin-bottom: 0px
@@ -285,12 +286,14 @@
285286
margin-bottom: $base-line-height
286287
dt
287288
font-weight: bold
289+
margin-bottom: $base-line-height / 2
288290
// Most of the content within these dls are one liners, so I halve the normal margins.
289291
p, table, ul, ol
290292
margin-bottom: $base-line-height / 2 !important
291293
// rST seems to want dds to be treated as the browser would, indented.
292294
dd
293295
margin: 0 0 $base-line-height / 2 $base-line-height
296+
line-height: $base-line-height
294297
// This is what Sphinx spits out for it's autodocs. Depending upon what language the person is referencing
295298
// these things usually have a class of "method" or "class" or something similar, but really who knows.
296299
// Sphinx doesn't give me a generic class on these, so unfortunately I have to apply it to the root dl.

0 commit comments

Comments
 (0)