mirror of https://github.com/docker/docs.git
Fix for flickering blue mobile menu
This commit is contained in:
parent
8eaa59ff8b
commit
2d730c0354
|
|
@ -28013,6 +28013,7 @@ blockquote p {
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-off-canvas-menu {
|
.left-off-canvas-menu {
|
||||||
|
display: none;
|
||||||
-webkit-backface-visibility: hidden;
|
-webkit-backface-visibility: hidden;
|
||||||
background: #134a6a;
|
background: #134a6a;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ function hookupTOCEvents()
|
||||||
$(".currentPage").each(function(){
|
$(".currentPage").each(function(){
|
||||||
$(this).parentsUntil($('.docsidebarnav_section')).addClass("active").removeClass("menu-closed").addClass("menu-open");
|
$(this).parentsUntil($('.docsidebarnav_section')).addClass("active").removeClass("menu-closed").addClass("menu-open");
|
||||||
});
|
});
|
||||||
|
$(".left-off-canvas-menu").css("display","block");
|
||||||
}
|
}
|
||||||
jQuery(document).ready(function(){
|
jQuery(document).ready(function(){
|
||||||
hookupTOCEvents();
|
hookupTOCEvents();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue