Skip to content

Commit

Permalink
fix preview display
Browse files Browse the repository at this point in the history
  • Loading branch information
laggron42 committed Jan 19, 2025
1 parent 83c6ac3 commit 9318715
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin_panel/bd_models/static/bd_models/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#preview-sidebar {
flex: 1 2 auto;
flex-basis: 33%;
order: 1;
background: var(--darkened-bg);
border-left: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{% endif %}
{% endblock %}
<div class="module" id="changelist">
<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}{% if form_url %}action="{{ form_url }}" {% endif %}method="post" id="{{ opts.model_name }}_form" novalidate style="flex:2 1 auto">{% csrf_token %}{% block form_top %}{% endblock %}
<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}{% if form_url %}action="{{ form_url }}" {% endif %}method="post" id="{{ opts.model_name }}_form" novalidate style="flex-basis:66%;min-width:0;">{% csrf_token %}{% block form_top %}{% endblock %}
<div>
{% if is_popup %}<input type="hidden" name="{{ is_popup_var }}" value="1">{% endif %}
{% if to_field %}<input type="hidden" name="{{ to_field_var }}" value="{{ to_field }}">{% endif %}
Expand Down

0 comments on commit 9318715

Please sign in to comment.