on master help sign in
docs: use overflow-auto, not scroll
d3edabaMatilde Park
components/Sidebar.js+1−1
@@ -12,7 +12,7 @@ export default function Sidebar(props) {
12 <a className="type-ui text-gray">Urbit</a>
12 <a className="type-ui text-gray">Urbit</a>
13 </Link>
13 </Link>
14 </header>
14 </header>
15− <div className="overflow-y-scroll p-6 pt-16">
15+ <div className="overflow-y-auto p-6 pt-16">
16 {props.children}
16 {props.children}
17 <div className="pb-32" />
17 <div className="pb-32" />
18 </div>
18 </div>
components/TableOfContents.js+1−1
@@ -10,7 +10,7 @@ export const TableOfContents = ({ staticPosition }) => {
10 staticPosition
10 staticPosition
11 ? "static"
11 ? "static"
12 : "sticky" +
12 : "sticky" +
13− " min-h-0 overflow-y-scroll w-52 flex-shrink-0 pb-24 hidden lg:block"
13+ " min-h-0 overflow-y-auto w-52 flex-shrink-0 pb-24 hidden lg:block"
14 }
14 }
15 style={{ top: "8rem", height: "calc(100vh - 16rem)" }}
15 style={{ top: "8rem", height: "calc(100vh - 16rem)" }}
16 >
16 >