Skip to content

Commit

Permalink
fix: restore the old index.html init template
Browse files Browse the repository at this point in the history
the templat should crate a new html document to avoid conflict with BBj
internal styling
  • Loading branch information
hyyan committed Mar 25, 2020
1 parent e8d904c commit 44042b2
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions client/index.html
@@ -1,14 +1,25 @@
<style>
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
</style>
<div
id="event-bridge-__id__"
onClick="window.basisDispatchCustomEvent(this, event.payload)"
></div>
<!DOCTYPE html>
<html lang="__lang__">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<style>
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
</style>
</head>

<div id="__id__" style="height: 100%" class="__THEME__"></div>
<body>
<div
id="event-bridge-__id__"
onClick="window.basisDispatchCustomEvent(this, event.payload)"
></div>

<div id="__id__" style="height: 100%" class="__THEME__"></div>
</body>
</html>

0 comments on commit 44042b2

Please sign in to comment.