fix builder width handler

This commit is contained in:
Alex Turchyn committed 2023-08-25 23:44:14 +03:00
1 parent 788493c0a6
commit 9d90304d9a
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -327,7 +327,7 @@ export default {
onWindowResize (e) {
const breakpointLg = 1024
this.isBreakpointLg = this.$el.getRootNode().children[0].offsetWidth < breakpointLg
this.isBreakpointLg = this.$el.getRootNode().querySelector('div').offsetWidth < breakpointLg
},
setDocumentRefs (el) {
if (el) {