Apply theme to scrollbar

This commit is contained in:
R Primus 2020-10-12 14:26:29 +01:00
parent 252ebdaf9c
commit cf03689ed5
No known key found for this signature in database
GPG key ID: 95D31B431D76BE2D
2 changed files with 7 additions and 2 deletions

View file

@ -2326,6 +2326,11 @@ footer .tsd-legend {
border-bottom: none; border-bottom: none;
} }
.scroller{
scrollbar-color: var(--tridactyl-bg) var(--tridactyl-fg);
scrollbar-width: thin;
}
.tsd-navigation { .tsd-navigation {
padding: 0 0 0 40px; padding: 0 0 0 40px;
} }

View file

@ -15,7 +15,7 @@
</head> </head>
<body> <body>
<nav class="tsd-navigation secondary"> <nav class="tsd-navigation secondary scroller">
<ul> <ul>
{{#each toc.children}} {{#each toc.children}}
{{> toc}} {{> toc}}
@ -23,7 +23,7 @@
</ul> </ul>
</nav> </nav>
<div class="container container-main"> <div class="container container-main scroller">
<div class="content-wrap"> <div class="content-wrap">
{{#if model.readme}} {{#if model.readme}}
<div class="tsd-panel tsd-typography"> <div class="tsd-panel tsd-typography">