@councilbox/councilbox-ui 2.0.52 → 2.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -124,10 +124,10 @@ var MenuLateralLeft = function MenuLateralLeft(_ref) {
|
|
|
124
124
|
|
|
125
125
|
var positionRef = ((_buttonRef$idItem2 = buttonRef[idItem]) === null || _buttonRef$idItem2 === void 0 ? void 0 : _buttonRef$idItem2.offsetTop) + 22;
|
|
126
126
|
|
|
127
|
-
if (((_buttonRef$idItem3 = buttonRef[idItem]) === null || _buttonRef$idItem3 === void 0 ? void 0 : _buttonRef$idItem3.offsetTop) <
|
|
127
|
+
if (((_buttonRef$idItem3 = buttonRef[idItem]) === null || _buttonRef$idItem3 === void 0 ? void 0 : _buttonRef$idItem3.offsetTop) < 520) {
|
|
128
128
|
setPosition(positionRef);
|
|
129
129
|
} else {
|
|
130
|
-
setPosition(
|
|
130
|
+
setPosition(520);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
setTimeout(function () {
|
|
@@ -174,7 +174,7 @@ var MenuLateralLeft = function MenuLateralLeft(_ref) {
|
|
|
174
174
|
var _buttonRef$idx2;
|
|
175
175
|
|
|
176
176
|
var positionRef = ((_buttonRef$idx2 = buttonRef[idx]) === null || _buttonRef$idx2 === void 0 ? void 0 : _buttonRef$idx2.offsetTop) + 22;
|
|
177
|
-
setHoverPosition(positionRef <
|
|
177
|
+
setHoverPosition(positionRef < 520 ? positionRef : 520);
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|