diff --git a/src/components/MD_Title.tsx b/src/components/MD_Title.tsx
index 4d24761..a9700a2 100644
--- a/src/components/MD_Title.tsx
+++ b/src/components/MD_Title.tsx
@@ -21,7 +21,7 @@ const MD_Title: ParentComponent<{ titleVar: number }> = props => {
- {props.children}
+ {props.children}
);
diff --git a/src/components/icons.tsx b/src/components/icons.tsx
index 8b26012..4351802 100644
--- a/src/components/icons.tsx
+++ b/src/components/icons.tsx
@@ -173,7 +173,6 @@ export const Hashtag: VoidComponent<{
viewBox="0 0 256 256"
class={props.class}
>
- Copy link
.typedata-name {
@@ -107,18 +107,17 @@
align-items: center;
font-size: 1.272rem;
margin: 0;
- margin-top: 0.272rem;
& svg {
- width: 27px;
- height: 27px;
- margin-right: 3px;
+ width: 1.2em;
+ height: 1.2em;
+ margin-right: 0.3em;
}
}
}
& .typedata-details {
- margin-top: 1.618rem;
+ margin: 0;
}
& .typedata-params {
@@ -142,6 +141,10 @@
margin-top: 0.618rem;
}
+ & > p:last-child {
+ margin-bottom: 0;
+ }
+
& .typeprop-link {
color: hsl(var(--prop-link-color));
diff --git a/src/styles/docs/docs.css b/src/styles/docs/docs.css
index c81c32a..6c3cd38 100644
--- a/src/styles/docs/docs.css
+++ b/src/styles/docs/docs.css
@@ -21,10 +21,8 @@
.docs-content {
flex-grow: 1;
- margin-bottom: 2.3rem;
& section {
- max-width: 100svw;
margin-block: 1.618rem;
}
@@ -51,9 +49,12 @@
}
& .heading-hashtag {
+ display: inline-block;
+ margin-right: 0.1rem;
+
& svg {
- width: 24px;
- height: 24px;
+ width: 1.2em;
+ height: 1.2em;
opacity: 0.5;
transition: opacity 0.5s;
@@ -63,6 +64,11 @@
}
}
}
+
+ & .heading-text {
+ display: inline-block;
+ vertical-align: top;
+ }
}
hr {
@@ -91,10 +97,6 @@ ul {
.docs-content {
margin-inline: 1.272rem;
- & section {
- margin-block: 1.884rem;
- }
-
& p {
margin-block: 1.217rem;
}
diff --git a/src/styles/docs/nav/nav.css b/src/styles/docs/nav/nav.css
index da386f6..1fcb663 100644
--- a/src/styles/docs/nav/nav.css
+++ b/src/styles/docs/nav/nav.css
@@ -85,7 +85,7 @@
& [data-part="item-content"] > div {
min-height: 3em;
- & > p {
+ & > a {
margin: auto 0;
}
}
diff --git a/src/styles/docs/toc/types-toc.css b/src/styles/docs/toc/types-toc.css
index ae61bfa..7661798 100644
--- a/src/styles/docs/toc/types-toc.css
+++ b/src/styles/docs/toc/types-toc.css
@@ -57,8 +57,8 @@
& svg {
opacity: 0.6;
- width: 24px;
- height: 24px;
+ width: 1.2em;
+ height: 1.2em;
transition: opacity 0.5s;
}