diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-12-14 23:16:40 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-12-14 23:16:40 +0000 |
commit | 492f2b00b00840f34fd647b521a4f280d785d87e (patch) | |
tree | 3fbcfc6e9c9f465f98f23964e5954201c7b43b06 /templates/editcave.html | |
parent | 8eb248bb13cb6570db400c07e8673a638ccad2d8 (diff) | |
download | troggle-492f2b00b00840f34fd647b521a4f280d785d87e.tar.gz troggle-492f2b00b00840f34fd647b521a4f280d785d87e.tar.bz2 troggle-492f2b00b00840f34fd647b521a4f280d785d87e.zip |
fixing width different for caves re handbook
Diffstat (limited to 'templates/editcave.html')
-rw-r--r-- | templates/editcave.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/editcave.html b/templates/editcave.html index 28fcccc..68a36af 100644 --- a/templates/editcave.html +++ b/templates/editcave.html @@ -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 %} |