1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2025-09-06 05:20:14 +02:00

Fix textarea not resizing to 100%

With declaration of doctype the textarea element did not resize to 100% height anymore due to HTML5 compliance mode changes
This commit is contained in:
Manuel 2021-02-14 22:56:34 +01:00
parent c00f65a385
commit e4998cb94c
Signed by: Manuel
GPG key ID: 4085037435E1F07A
2 changed files with 33 additions and 20 deletions

View file

@ -62,5 +62,7 @@
</div>
<div id="linenos"></div>
<pre id="box" style="display: none;" class="hljs" tabindex="0"><code></code></pre>
<textarea spellcheck="false" style="display: none;"></textarea>
<div class="text-container">
<pre id="box" style="display: none;" class="hljs" tabindex="0"><code></code></pre>
<textarea spellcheck="false" style="display: none;"></textarea>
</div>