Skip to content

Commit 537f82d

Browse files
authored
Disable smooth scrolling defaults of bootstrap (#67)
1 parent 81c9cb6 commit 537f82d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/app/ui/templates/layouts/head.html

+5
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
.hljs-ln td.hljs-ln-code {
3838
padding-left: 0.25em;
3939
}
40+
41+
/* (#64) Disable here until we compile our own bootstrap CSS */
42+
:root {
43+
scroll-behavior: auto;
44+
}
4045
</style>
4146
{{ define "head_scripts" }}{{ end }}
4247
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/4.1.1/marked.min.js" integrity="sha512-+mCmSlBpa1bF0npQzdpxFWIyJaFbVdEcuyET6FtmHmlXIacQjN/vQs1paCsMlVHHZ2ltD2VTHy3fLFhXQu0AMA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>

0 commit comments

Comments
 (0)