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;
|
color: $red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdownx {
|
||||||
|
display: flex;
|
||||||
|
column-gap: 2.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdownx-editor {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
.markdownx-preview {
|
.markdownx-preview {
|
||||||
|
width: 50%;
|
||||||
@import 'render';
|
@import 'render';
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,5 @@
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form|crispy }}
|
{{ form|crispy }}
|
||||||
</form>
|
</form>
|
||||||
<div class="preview">
|
|
||||||
{{ form.media }}
|
{{ form.media }}
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue