Skip to content

Commit 77aa5fc

Browse files
committed
fix docs TOC on mobile
1 parent 187403c commit 77aa5fc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

site/src/routes/docs/index.svelte

+3-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
bottom: calc(100vh - var(--nav-h) - 10.8rem);
109109
width: 100%;
110110
height: 2em;
111-
background: linear-gradient(to top, rgba(103,103,120,0) 0%, rgba(103,103,120,0.7) 50%, rgba(103,103,120,1) 100%);
111+
background: linear-gradient(to top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,1) 100%);
112112
pointer-events: none;
113113
z-index: 2;
114114
}
@@ -120,7 +120,7 @@
120120
bottom: 1.9em;
121121
width: 100%;
122122
height: 2em;
123-
background: linear-gradient(to bottom, rgba(103,103,120,0) 0%, rgba(103,103,120,0.7) 50%, rgba(103,103,120,1) 100%);
123+
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,1) 100%);
124124
pointer-events: none;
125125
}
126126
@@ -324,6 +324,7 @@
324324
margin: 0;
325325
border: 1px solid #81b9e0;
326326
box-shadow: none;
327+
max-width: 100%;
327328
}
328329
329330
section > :global(.code-block)> :global(pre.language-markup) {

0 commit comments

Comments
 (0)