Fixed the widget rendering
This commit is contained in:
parent
5435c212b4
commit
d0f252ecc8
3 changed files with 5 additions and 2 deletions
|
@ -91,7 +91,7 @@ window.axios = createAxios(axios);
|
||||||
window.bus = new Vue();
|
window.bus = new Vue();
|
||||||
initializeChatwootEvents();
|
initializeChatwootEvents();
|
||||||
initializeAnalyticsEvents();
|
initializeAnalyticsEvents();
|
||||||
// initalizeRouter();
|
initalizeRouter();
|
||||||
|
|
||||||
// window.onload = () => {
|
// window.onload = () => {
|
||||||
// window.WOOT = new Vue({
|
// window.WOOT = new Vue({
|
||||||
|
|
|
@ -85,3 +85,6 @@ body {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.woot-widget-wrap {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
<%= stylesheet_pack_tag 'widget' %>
|
<%= stylesheet_pack_tag 'widget' %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app" class="woot-widget-wrap"></div>
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue