Skip to content

Commit

Permalink
Constrain width of figcaption for wide content
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed Jun 20, 2024
1 parent 063a9b9 commit 29c5a01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/assets/styles/base/_sphinx.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ a.headerlink:hover {
margin-left: calc(-1 * var(--tn-sphinx-block-padding-x));
}

.technote-wide-content .code-block-caption {
.technote-wide-content .code-block-caption,
.technote-wide-content figcaption {
/* Add padding to constrain the caption to the width of the
text column.
*/
Expand Down

0 comments on commit 29c5a01

Please sign in to comment.