Properly display constructor arguments documentation, if any.

This commit is contained in:
KtorZ
2024-08-17 17:01:28 +02:00
parent 2bb2f11090
commit 802e8272c5
2 changed files with 32 additions and 1 deletions

View File

@@ -510,10 +510,32 @@ body.drawer-open .label-closed {
color: var(--color-background-accent);
}
.constructor-item-docs hr {
color: var(--color-text-accent);
}
.constructor-item-docs hr:last-child {
display: none;
}
.constructor-item-docs p {
margin: 0;
}
.constructor-item-docs h4 {
margin-bottom: 1rem;
display: inline-block;
}
.constructor-item-docs h4 > code {
padding: 0.5rem;
}
.constructor-item-docs h4 ~ p {
padding-left: 0.5rem;
display: inline-block;
}
.constructor-name {
box-shadow: unset;
margin: 0;