Apply a default height to CodeMirror

Makes it a bit more obvious that it's an editable textarea even
if the SQL in it is only one line long.
This commit is contained in:
Simon Willison 2017-11-14 18:04:04 -08:00
commit 4f7281af8c

View file

@ -16,7 +16,7 @@
<link rel="stylesheet" href="/-/static/codemirror-5.31.0-min.css" />
<script src="/-/static/codemirror-5.31.0-sql.min.js"></script>
<style>
.CodeMirror { height: auto; border: 1px solid #ddd; }
.CodeMirror { height: 70px; width: 80%; border: 1px solid #ddd; }
.CodeMirror-scroll { max-height: 200px; }
</style>
{% endblock %}