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

@ -3,7 +3,7 @@
// project specific CSS goes here
////////////////////////////////
//Variables//
//Variables//
////////////////////////////////
// Alert colors
@ -16,7 +16,7 @@ $dark-pink: #eed3d7;
$red: #b94a48;
////////////////////////////////
//Alerts//
//Alerts//
////////////////////////////////
// bootstrap alert CSS, translated to the django-standard levels of
@ -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 %}