Skip to content

Commit

Permalink
fix pad example styles
Browse files Browse the repository at this point in the history
  • Loading branch information
nateps committed Feb 18, 2014
1 parent 61b72df commit a9c8f1f
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions examples/pad/index.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,29 @@
<meta charset="utf-8">
<title>Racer pad - {{room}}</title>
<style>
#pad {
#pad-container {
position: absolute;
top: 24px;
right: 24px;
bottom: 24px;
left: 24px;
right: 24px;
top: 24px;
}
#pad {
font: 16px/1.2 sans-serif;
padding: 4px 7px;
height: 100%;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body {
background: #ddd;
}
</style>

<textarea id="pad" autofocus>{{text}}</textarea>
<div id="pad-container">
<textarea id="pad" autofocus>{{text}}</textarea>
</div>

<script async src="/script.js" onload='require("racer").init({{{bundle}}})'></script>

0 comments on commit a9c8f1f

Please sign in to comment.