Rename css class to something that makes more sense
This commit is contained in:
parent
718e932b44
commit
8d454156b3
|
@ -139,7 +139,7 @@ const SiteHeaderComponent = MountWidget.extend(Docking, {
|
||||||
if ($panelBody.height() !== contentHeight) {
|
if ($panelBody.height() !== contentHeight) {
|
||||||
$panelBody.height(contentHeight);
|
$panelBody.height(contentHeight);
|
||||||
}
|
}
|
||||||
$('body').addClass('drop-down-visible');
|
$('body').addClass('drop-down-mode');
|
||||||
} else {
|
} else {
|
||||||
const menuTop = headerHeight();
|
const menuTop = headerHeight();
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ const SiteHeaderComponent = MountWidget.extend(Docking, {
|
||||||
if (style.top !== menuTop + "px" || style.height !== height) {
|
if (style.top !== menuTop + "px" || style.height !== height) {
|
||||||
$panel.css({ top: menuTop + "px", height });
|
$panel.css({ top: menuTop + "px", height });
|
||||||
}
|
}
|
||||||
$('body').removeClass('drop-down-visible');
|
$('body').removeClass('drop-down-mode');
|
||||||
}
|
}
|
||||||
|
|
||||||
$panel.width(width);
|
$panel.width(width);
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
background-color: $primary-low;
|
background-color: $primary-low;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.drop-down-visible & {
|
.drop-down-mode & {
|
||||||
.active .icon {
|
.active .icon {
|
||||||
position: relative;
|
position: relative;
|
||||||
color: #7b7b7b;
|
color: #7b7b7b;
|
||||||
|
|
Loading…
Reference in New Issue