minor fixes: scroll bars on overflowing elements, copy button size, function args spacing, type icons padding, link to window.location.href

This commit is contained in:
Xanazf 2024-09-28 10:44:54 +03:00
parent 3c2fb32b3e
commit ffdbd0e614
13 changed files with 488 additions and 546 deletions

View file

@ -4,7 +4,6 @@
.docslayout-root {
margin: 0.618rem;
margin-top: 3.5rem;
overflow: hidden;
}
.docs,
@ -40,7 +39,7 @@
}
.heading {
& > [id] {
&>[id] {
width: max-content;
}
@ -70,7 +69,7 @@ ul {
.markdown-alert {
margin-block: 0.618rem;
& > *:not(:first-child) {
&>*:not(:first-child) {
margin-block: 0.724rem;
}
}
@ -81,6 +80,7 @@ ul {
}
@media (min-width: 768px) {
.docs,
.docslayout-root {
gap: 0.648rem;
@ -90,10 +90,6 @@ ul {
margin-left: calc(1.618rem + 260px);
}
.docslayout-inner {
display: block;
}
.docs-content {
margin-inline: 1.272rem;
@ -121,4 +117,8 @@ ul {
.docslayout-root {
margin-inline: calc(10svw + 260px);
}
.docslayout-inner {
min-width: 33.8rem;
}
}