Skip to content

Commit

Permalink
Merge pull request readthedocs#635 from rtfd/bottom-margin-in-tables
Browse files Browse the repository at this point in the history
Prevent extra whitespace at bottom of some table cells
  • Loading branch information
davidfischer authored May 15, 2018
2 parents 8e86b27 + 1b43a8e commit 5f9ec36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sass/_theme_rst.sass
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@
border-color: $table-border-color
&:not(.field-list)
@extend .wy-table-striped
// Remove bottom margin for the last element (and it's last child)
td .last, td .last :last-child
margin-bottom: 0
// This table is what gets spit out for auto-generated API stuff. I style it smaller bits of padding.
table.field-list
@extend .wy-table
Expand Down

0 comments on commit 5f9ec36

Please sign in to comment.