Browse Source

Merge pull request #11610 from abpframework/liangshiwei/docs

Docs: Fix Filter problem on mobile devices
pull/11611/head
liangshiwei 5 years ago
committed by GitHub
parent
commit
4a000bcf77
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js

19
modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js

@ -124,18 +124,15 @@
});
function handleCustomScrolls() {
var wWidth = $(window).width();
if (wWidth > 766) {
$('#sidebar-scroll').mCustomScrollbar({
theme: 'minimal',
alwaysShowScrollbar: 0,
});
$('#sidebar-scroll').mCustomScrollbar({
theme: 'minimal',
alwaysShowScrollbar: 0,
});
$('#scroll-index').mCustomScrollbar({
theme: 'minimal-dark',
alwaysShowScrollbar: 0,
});
}
$('#scroll-index').mCustomScrollbar({
theme: 'minimal-dark',
alwaysShowScrollbar: 0,
});
}
window.Toc.helpers.createNavList = function () {

Loading…
Cancel
Save