bm-core-ui 2.11.2 → 2.11.3
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.
- package/build/BMCoreUI.css +4 -2
- package/build/BMView/BMMenu.js +3 -3
- package/lib/BMCoreUI.min.js +1 -1
- package/package.json +1 -1
package/build/BMCoreUI.css
CHANGED
|
@@ -1172,6 +1172,8 @@ input:not(:checked) + .BMWindowSwitchGutter > .BMWindowSwitchKnob, .BMWindowSwit
|
|
|
1172
1172
|
|
|
1173
1173
|
backdrop-filter: blur(25px);
|
|
1174
1174
|
-webkit-backdrop-filter: blur(25px);
|
|
1175
|
+
|
|
1176
|
+
overflow-y: auto;
|
|
1175
1177
|
}
|
|
1176
1178
|
|
|
1177
1179
|
.BMLayoutEditorConstraintPopup::before, .BMMenu::before {
|
|
@@ -1419,8 +1421,8 @@ input:not(:checked) + .BMWindowSwitchGutter > .BMWindowSwitchKnob, .BMWindowSwit
|
|
|
1419
1421
|
background: transparent;
|
|
1420
1422
|
color: rgba(0, 0, 0, .8);
|
|
1421
1423
|
|
|
1422
|
-
backdrop-filter: brightness(
|
|
1423
|
-
-webkit-backdrop-filter: brightness(
|
|
1424
|
+
backdrop-filter: brightness(80%);
|
|
1425
|
+
-webkit-backdrop-filter: brightness(80%);
|
|
1424
1426
|
}
|
|
1425
1427
|
|
|
1426
1428
|
.BMLayoutEditorConstraintPopupOptionHighlighted, .BMMenuItemHighlighted {
|
package/build/BMView/BMMenu.js
CHANGED
|
@@ -1007,9 +1007,9 @@ BMMenu.prototype = {
|
|
|
1007
1007
|
// If the menu doesn't fit towards the right, open it towards the left, if it has more space
|
|
1008
1008
|
if (point.x > windowWidth / 2) {
|
|
1009
1009
|
transformOriginX = '100%';
|
|
1010
|
-
point.x = rect.origin.x - width;
|
|
1011
1010
|
|
|
1012
|
-
menuNode.style.maxWidth = point.x + 'px'
|
|
1011
|
+
menuNode.style.maxWidth = point.x + 'px';
|
|
1012
|
+
point.x = rect.origin.x - width;
|
|
1013
1013
|
}
|
|
1014
1014
|
else {
|
|
1015
1015
|
menuNode.style.maxWidth = (window.innerWidth - point.x) + 'px';
|
|
@@ -1019,9 +1019,9 @@ BMMenu.prototype = {
|
|
|
1019
1019
|
// If the menu doesn't fit towards the bottom, open it towards the top, if it has more space
|
|
1020
1020
|
if (point.y > windowHeight / 2) {
|
|
1021
1021
|
transformOriginY = ' 100%';
|
|
1022
|
-
point.y = Math.max(rect.bottom + paddingBottom - height, 0);
|
|
1023
1022
|
|
|
1024
1023
|
menuNode.style.maxHeight = point.y + 'px';
|
|
1024
|
+
point.y = Math.max(rect.bottom + paddingBottom - height, 0);
|
|
1025
1025
|
}
|
|
1026
1026
|
else {
|
|
1027
1027
|
menuNode.style.maxHeight = (windowHeight - point.y) + 'px';
|