boomack 0.15.4 → 0.15.5
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/client/public/js/client.js +4 -3
- package/client/vendor/js/lodash.min.js +139 -139
- package/client/views/slot-panel.ejs +1 -1
- package/dist/index.mjs +4 -4
- package/package.json +2 -2
|
@@ -214,13 +214,14 @@ window.boomack = window.boomack || {};
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
function getSlotInnerSize(slotE) {
|
|
217
|
-
var
|
|
217
|
+
var slotContentBoxE = slotE.find('.slot-content-box');
|
|
218
218
|
var contentWrapperE = slotE.find('.slot-content-wrapper');
|
|
219
|
+
var size = getElementSize(slotContentBoxE[0]);
|
|
219
220
|
return {
|
|
220
|
-
width:
|
|
221
|
+
width: size.width -
|
|
221
222
|
parseFloat(contentWrapperE.css('padding-left')) -
|
|
222
223
|
parseFloat(contentWrapperE.css('padding-right')),
|
|
223
|
-
height:
|
|
224
|
+
height: size.height -
|
|
224
225
|
parseFloat(contentWrapperE.css('padding-top')) -
|
|
225
226
|
parseFloat(contentWrapperE.css('padding-bottom')),
|
|
226
227
|
};
|