Merge pull request #635 from rtfd/bottom-margin-in-tables

Prevent extra whitespace at bottom of some table cells
This commit is contained in:
David Fischer 2018-05-15 14:05:45 -04:00 committed by GitHub
commit 5f9ec36d6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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