Skip to content

Commit

Permalink
Align examples
Browse files Browse the repository at this point in the history
* Shrink the example heading font size a bit.

* Align the example with the rest of the summary/details.
  • Loading branch information
brianrourkeboll committed Jun 18, 2024
1 parent 4140311 commit f4014fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/content/fsdocs-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ span[onmouseout] {
margin-bottom: var(--spacing-200);
}

.fsdocs-returns, .fsdocs-params {
.fsdocs-returns, .fsdocs-params, .fsdocs-example-header, pre.fssnip.highlighted {
margin: var(--spacing-200) 0 var(--spacing-200) var(--spacing-300);

&:first-child {
Expand All @@ -1147,6 +1147,10 @@ span[onmouseout] {
margin: var(--spacing-200) 0;
}

.fsdocs-example-header {
font-size: var(--font-200);
}

> div.fsdocs-summary {
display: flex;
flex-direction: row;
Expand Down

0 comments on commit f4014fb

Please sign in to comment.