don't let the textarea overflow the body

pull/1/head
ansuz 9 years ago
parent dcbbeea734
commit d9d4abb9a5

@ -4,9 +4,10 @@
<meta content="text/html; charset=utf-8" http-equiv="content-type"/> <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<script data-main="main" src="/bower_components/requirejs/require.js"></script> <script data-main="main" src="/bower_components/requirejs/require.js"></script>
<style> <style>
*{ html, body{
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
overflow: hidden;
} }
textarea{ textarea{
box-sizing: border-box; box-sizing: border-box;
@ -20,6 +21,8 @@
color: #839496; color: #839496;
overflow-x: hidden; overflow-x: hidden;
max-width: 100%;
max-height: 100vh;
} }
</style> </style>
</head> </head>

Loading…
Cancel
Save