diff --git a/docs/content/fsdocs-default.css b/docs/content/fsdocs-default.css index 6e1f615e..0faaf6a1 100644 --- a/docs/content/fsdocs-default.css +++ b/docs/content/fsdocs-default.css @@ -1083,6 +1083,23 @@ span[onmouseout] { display: flex; flex-direction: column; justify-content: flex-start; + + > * { + margin: var(--spacing-200) 0 var(--spacing-200) var(--spacing-300); + + &:first-child:is(.icon-button-row) { + margin-top: 0; + margin-bottom: 0; + } + + &:nth-child(2) { + margin-top: 0; + } + + &:last-child { + margin-bottom: 0; + } + } } .icon-button-row { @@ -1099,8 +1116,6 @@ span[onmouseout] { counter-increment: list-item 0; list-style: disclosure-closed outside; cursor: pointer; - width: calc(100% - var(--spacing-300)); - margin-left: var(--spacing-300); > .fsdocs-summary { display: flex; @@ -1127,9 +1142,14 @@ span[onmouseout] { margin-bottom: var(--spacing-200); } - .fsdocs-returns, .fsdocs-params, .fsdocs-example-header, pre.fssnip.highlighted { + & details > * { margin: var(--spacing-200) 0 var(--spacing-200) var(--spacing-300); + &:is(summary) { + margin-top: 0; + margin-bottom: 0; + } + &:first-child { margin-top: 0; }