diff --git a/src/app.css b/src/app.css
index f358ea7..4c66762 100644
--- a/src/app.css
+++ b/src/app.css
@@ -48,6 +48,7 @@ body {
--grey-five: hsl(208, 30%, 75%);
--grey-six: #202126;
--grey-seven: #18191d;
+ --grey-eight: hsla(207, 30%, 75%, 0.577);
--bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@@ -97,7 +98,7 @@ h5 {
h6 {
color: var(--grey-five);
font-weight: 500;
- font-size: 0.8rem;
+ font-size: 0.85rem;
}
/*---------------*/
diff --git a/src/lib/components/atoms/DocsNavNode.svelte b/src/lib/components/atoms/DocsNavNode.svelte
index 138ce45..6e07b2b 100644
--- a/src/lib/components/atoms/DocsNavNode.svelte
+++ b/src/lib/components/atoms/DocsNavNode.svelte
@@ -1,25 +1,26 @@
-
+
+
+
{info.title}
+
+
-
diff --git a/src/lib/components/atoms/TreeMenuButton.svelte b/src/lib/components/atoms/TreeMenuButton.svelte
index 5cd92da..7cad29d 100644
--- a/src/lib/components/atoms/TreeMenuButton.svelte
+++ b/src/lib/components/atoms/TreeMenuButton.svelte
@@ -1,15 +1,18 @@
- (selectedPkg = selectedPkg === name ? false : name) &&
- window.scrollTo({ top: 0, behavior: 'smooth' })}
+ on:click={handleClick}
>
{name}
@@ -47,4 +50,25 @@
.package:not(.selected):hover h5 {
color: var(--white);
}
+
+ @media (max-width: 768px) {
+ .package {
+ border-radius: 12px;
+ width: max-content;
+ background-color: transparent;
+ border: 1px solid var(--grey-three);
+ }
+
+ .package h5 {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+ .selected {
+ background-color: var(--accent-color);
+ }
+ .package:not(.selected):hover h5 {
+ color: var(--grey-five);
+ }
+ }
diff --git a/src/lib/components/molecules/PatchCell.svelte b/src/lib/components/molecules/PatchCell.svelte
index 0036012..93b10e6 100644
--- a/src/lib/components/molecules/PatchCell.svelte
+++ b/src/lib/components/molecules/PatchCell.svelte
@@ -86,6 +86,7 @@
background-color: var(--grey-two);
padding: 0.2rem 0.4rem;
display: flex;
+ word-break: break-all;
}
#option-title {
@@ -156,4 +157,10 @@
display: flex;
flex-direction: column;
}
+
+ @media (max-width: 768px) {
+ .patch-container {
+ border-radius: 16px;
+ }
+ }
diff --git a/src/lib/components/molecules/TreeMenu.svelte b/src/lib/components/molecules/TreeMenu.svelte
index 2b224a0..b4f879b 100644
--- a/src/lib/components/molecules/TreeMenu.svelte
+++ b/src/lib/components/molecules/TreeMenu.svelte
@@ -1,5 +1,5 @@