fix builder width handler
This commit is contained in:
@@ -327,7 +327,7 @@ export default {
|
|||||||
onWindowResize (e) {
|
onWindowResize (e) {
|
||||||
const breakpointLg = 1024
|
const breakpointLg = 1024
|
||||||
|
|
||||||
this.isBreakpointLg = this.$el.getRootNode().children[0].offsetWidth < breakpointLg
|
this.isBreakpointLg = this.$el.getRootNode().querySelector('div').offsetWidth < breakpointLg
|
||||||
},
|
},
|
||||||
setDocumentRefs (el) {
|
setDocumentRefs (el) {
|
||||||
if (el) {
|
if (el) {
|
||||||
|
|||||||
@@ -15,6 +15,11 @@ module Docuseal
|
|||||||
else
|
else
|
||||||
'https://console.docuseal.co'
|
'https://console.docuseal.co'
|
||||||
end
|
end
|
||||||
|
CDN_URL = if Rails.env.development?
|
||||||
|
'http://localhost:3000'
|
||||||
|
else
|
||||||
|
'https://cdn.docuseal.co'
|
||||||
|
end
|
||||||
|
|
||||||
CERTS = JSON.parse(ENV.fetch('CERTS', '{}'))
|
CERTS = JSON.parse(ENV.fetch('CERTS', '{}'))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user