don't let the textarea overflow the body
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user