Skip to content
Snippets Groups Projects
Unverified Commit b93969c5 authored by weaver299's avatar weaver299 Committed by GitHub
Browse files

Merge pull request #145 from ASCWebServices/canini

asc_bootstrap - fixing sidebar menu height bug
parents fbc578e1 551d2b90
No related branches found
No related tags found
No related merge requests found
jQuery(document).ready(function(){
//set sidebar height to match height of content on page
if(jQuery(".page-node-type-page .main-container section").height() > jQuery(".page-node-type-page .main-container aside").height()) {
jQuery(".page-node-type-page .main-container aside").css({'height':(jQuery(".page-node-type-page .main-container section").height()+'px')});
jQuery(".page-node-type-page .main-container aside").css({'min-height':(jQuery(".page-node-type-page .main-container section").height()+'px')});
}
if(jQuery(".path-people .main-container section").height() > jQuery(".path-people .main-container aside").height()) {
jQuery(".path-people .main-container aside").css({'height':(jQuery(".path-people .main-container section").height()+'px')});
jQuery(".path-people .main-container aside").css({'min-height':(jQuery(".path-people .main-container section").height()+'px')});
}
//adds fontawesome arrow to menu
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment