Skip to content

Commit

Permalink
fix: increase margins of autosummary tables (#1560)
Browse files Browse the repository at this point in the history
* fix: increase margins of autosummary tables

* fix: the dl is not part of the table

* use the real API selector

* increase margin to 3rem
  • Loading branch information
12rambau authored Nov 22, 2023
1 parent c1befa8 commit 3381187
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pydata_sphinx_theme/assets/styles/content/_api.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ span.highlighted {
// the API selector
// from https://github.com/pradyunsg/furo/blob/main/src/furo/assets/styles/content/_api.sass#L6)
dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) {
//increase margin bottom after the dl elements
margin-bottom: 3rem;

dd {
margin-left: 2rem;

Expand Down

0 comments on commit 3381187

Please sign in to comment.