2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 13:18:15 +00:00

fixing width different for caves re handbook

This commit is contained in:
2024-12-14 23:16:40 +00:00
parent 8eb248bb13
commit 492f2b00b0
2 changed files with 12 additions and 5 deletions

View File

@@ -56,12 +56,18 @@ and these same fields appear in the alternative file upload process as described
<h2><!-- file saving error message if any -->{{message}}</h2>
<!-- In Django v5 forms are rendered as <div> not as a table. The layout is different.
also we want a wider edit box for Cave editing, where there is no preview next to it.
-->
<style>
# In Django v5 forms are rendered as <div> not as a table. The layout is different.
div > label {
display:block;
font-weight: bold;
margin-top: 5px; }
margin-top: 5px;
}
.CodeMirror {
width: 87%;
}
</style>
<form action="" method="post">{% csrf_token %}
{% if tabletype == 'table' %}<table>{% endif %}