Fixed the widget rendering

This commit is contained in:
Muhsin Keloth 2022-08-19 11:41:57 +05:30
parent 5435c212b4
commit d0f252ecc8
3 changed files with 5 additions and 2 deletions

View file

@ -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({

View file

@ -85,3 +85,6 @@ body {
} }
} }
} }
.woot-widget-wrap {
height: 100%;
}

View file

@ -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>