Skip to content

Commit

Permalink
Right align viewcode links allowing wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Mar 21, 2021
1 parent 470032a commit bb46d32
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/furo/assets/styles/content/_api.sass
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ div.versionadded, div.versionchanged, div.deprecated
margin-top: 0.125rem
margin-bottom: 0.125rem

// Align the [source] to the right.
code.sig-name.descname, span.sig-paren
+ a.reference.internal
width: 3.5rem
float: right
font-size: var(--font-size--small)

// Align the [docs] to the right.
.viewcode-link, .viewcode-back
float: right
font-size: var(--font-size--small)
text-align: right

0 comments on commit bb46d32

Please sign in to comment.