mirror of https://github.com/docker/docs.git
Remove "position: sticky" stickyfill polyfill
From the script's repository: https://github.com/wilddeer/stickyfill > Stickyfill did a good job while the browsers were implementing position: sticky > support. You can now safely use stickies without a polyfill, all modern browsers > support them natively: > > https://caniuse.com/?search=position%3Asticky Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
b753eb089f
commit
eaf40137dc
|
@ -92,7 +92,6 @@
|
|||
<script defer src="/js/menu.js"></script>
|
||||
<script src="/js/jquery.js"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/stickyfill.min.js"></script>
|
||||
<script defer src="/js/metadata.js"></script>
|
||||
<script defer src="/js/docs.js"></script>
|
||||
<script defer src="/js/toc.js"></script>
|
||||
|
|
|
@ -131,7 +131,6 @@ section.section {
|
|||
}
|
||||
|
||||
.sidebar {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 55px;
|
||||
overflow: auto;
|
||||
|
|
|
@ -245,8 +245,6 @@ $(document).ready(function () {
|
|||
|
||||
|
||||
$(document).ready(function () {
|
||||
$(".sidebar").Stickyfill();
|
||||
|
||||
// Add smooth scrolling to all links
|
||||
$(".nav-sidebar ul li a").on("click", function (event) {
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue