@eturnity/eturnity_reusable_components 6.46.4 → 6.46.5-EPDM-9162.0
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/package.json
CHANGED
@@ -68,7 +68,8 @@ const wrapperAttrs = { fullWidth: Boolean }
|
|
68
68
|
const TableWrapper = styled('div', wrapperAttrs)`
|
69
69
|
width: ${(props) => (props.fullWidth ? '100%' : 'fit-content')};
|
70
70
|
max-width: 100%;
|
71
|
-
overflow: auto;
|
71
|
+
overflow-x: auto;
|
72
|
+
overflow-y: hidden;
|
72
73
|
|
73
74
|
::-webkit-scrollbar {
|
74
75
|
height: 5px; //height of the whole scrollbar area
|
@@ -308,7 +308,6 @@ export default {
|
|
308
308
|
}
|
309
309
|
},
|
310
310
|
setContextMenuPosition() {
|
311
|
-
console.log('setContextMenuPosition')
|
312
311
|
const contextMenu = this.$refs.dropdownContainer.$el
|
313
312
|
const button = this.$refs.pageContainer.$el
|
314
313
|
const rectButton = button.getBoundingClientRect()
|
@@ -332,7 +331,7 @@ export default {
|
|
332
331
|
},
|
333
332
|
findRelativeParent(element) {
|
334
333
|
while (element.parentElement) {
|
335
|
-
if (window.getComputedStyle(element.parentElement).position === 'relative') {
|
334
|
+
if (window.getComputedStyle(element.parentElement).position === 'relative' || window.getComputedStyle(element.parentElement).position === 'absolute') {
|
336
335
|
return element.parentElement
|
337
336
|
}
|
338
337
|
element = element.parentElement
|