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