splitview editor but quick and dirty
This commit is contained in:
parent
7d4425831f
commit
ae0eeafbfd
2 changed files with 12 additions and 4 deletions
|
@ -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';
|
||||
}
|
||||
|
|
|
@ -17,7 +17,5 @@
|
|||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
</form>
|
||||
<div class="preview">
|
||||
{{ form.media }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue