More textarea consistency

This commit is contained in:
andreimarcu 2015-10-04 19:05:13 -04:00
parent 060ab351b0
commit d40cc5e1be
2 changed files with 4 additions and 3 deletions

View File

@ -271,6 +271,9 @@ body {
width: 705px; width: 705px;
height: 450px; height: 450px;
border-color: #cccccc; border-color: #cccccc;
font-family: monospace;
resize: none;
overflow: auto;
} }
/* Content display {{{ */ /* Content display {{{ */
@ -312,10 +315,8 @@ body {
#editor { #editor {
display: none; display: none;
border: 0;
width: 794px; width: 794px;
height: 800px; height: 800px;
font-family: monospace;
font-size: 13px; font-size: 13px;
} }
/* }}} */ /* }}} */

View File

@ -43,7 +43,7 @@
{% block main %} {% block main %}
<div id="normal-content" class="normal {% if extra.lang_hl != "story" %}fixed{% endif %}"> <div id="normal-content" class="normal {% if extra.lang_hl != "story" %}fixed{% endif %}">
<pre id="normal-code"><code id="codeb" class="{{ extra.lang_hl }}">{{ extra.contents }}</code></pre> <pre id="normal-code"><code id="codeb" class="{{ extra.lang_hl }}">{{ extra.contents }}</code></pre>
<textarea id="editor">{{ extra.contents }}</textarea> <textarea id="editor" class="editor">{{ extra.contents }}</textarea>
</div> </div>