mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-12-18 14:32:19 +00:00
fixing width different for caves re handbook
This commit is contained in:
parent
8eb248bb13
commit
492f2b00b0
@ -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>
|
<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>
|
<style>
|
||||||
# In Django v5 forms are rendered as <div> not as a table. The layout is different.
|
|
||||||
div > label {
|
div > label {
|
||||||
display:block;
|
display:block;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-top: 5px; }
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
.CodeMirror {
|
||||||
|
width: 87%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<form action="" method="post">{% csrf_token %}
|
<form action="" method="post">{% csrf_token %}
|
||||||
{% if tabletype == 'table' %}<table>{% endif %}
|
{% if tabletype == 'table' %}<table>{% endif %}
|
||||||
|
@ -32,9 +32,10 @@
|
|||||||
z-index: 20;
|
z-index: 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This is used for both cave_edit and handbook_edit, and is overridden 100% for cave_edit
|
||||||
.HTMLarea {
|
.HTMLarea {
|
||||||
width:100%; # width:130%;
|
width:1000px # width:130%;
|
||||||
# margin-left: -235px
|
margin-left: -235px
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-overlay.active {
|
.popup-overlay.active {
|
||||||
@ -73,7 +74,7 @@
|
|||||||
<style type=text/css>
|
<style type=text/css>
|
||||||
.CodeMirror {
|
.CodeMirror {
|
||||||
float: left;
|
float: left;
|
||||||
width: 85%;
|
width: 50%;
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
height: 70%;
|
height: 70%;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user