splitview editor but quick and dirty

This commit is contained in:
j3d1 2019-10-01 12:57:31 +02:00
parent 7d4425831f
commit ae0eeafbfd
2 changed files with 12 additions and 4 deletions

View file

@ -34,6 +34,16 @@ $red: #b94a48;
color: $red;
}
.markdownx {
display: flex;
column-gap: 2.5em;
}
.markdownx-editor {
width: 50%;
}
.markdownx-preview {
width: 50%;
@import 'render';
}

View file

@ -17,7 +17,5 @@
{% csrf_token %}
{{ form|crispy }}
</form>
<div class="preview">
{{ form.media }}
</div>
{% endblock %}