Rename css class to something that makes more sense

This commit is contained in:
Robin Ward 2018-01-17 11:38:22 -05:00
parent 718e932b44
commit 8d454156b3
2 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@ const SiteHeaderComponent = MountWidget.extend(Docking, {
if ($panelBody.height() !== contentHeight) {
$panelBody.height(contentHeight);
}
$('body').addClass('drop-down-visible');
$('body').addClass('drop-down-mode');
} else {
const menuTop = headerHeight();
@ -157,7 +157,7 @@ const SiteHeaderComponent = MountWidget.extend(Docking, {
if (style.top !== menuTop + "px" || style.height !== height) {
$panel.css({ top: menuTop + "px", height });
}
$('body').removeClass('drop-down-visible');
$('body').removeClass('drop-down-mode');
}
$panel.width(width);

View File

@ -91,7 +91,7 @@
background-color: $primary-low;
}
}
.drop-down-visible & {
.drop-down-mode & {
.active .icon {
position: relative;
color: #7b7b7b;