summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/static/chimere/css/styles.css14
-rw-r--r--chimere/templatetags/bootstrap.py2
2 files changed, 10 insertions, 6 deletions
diff --git a/chimere/static/chimere/css/styles.css b/chimere/static/chimere/css/styles.css
index ed66f57..a94a371 100644
--- a/chimere/static/chimere/css/styles.css
+++ b/chimere/static/chimere/css/styles.css
@@ -837,6 +837,7 @@ button{
}
table.inline-table{
+ margin-bottom: 0.5em;
}
table.inline-table td{
@@ -851,11 +852,6 @@ table.inline-table td input[type=checkbox]{
margin-right:auto;
}
-table.inline-table td input[type=text],
-table.inline-table td input[type=file]{
- width:260px;
-}
-
table.inline-table td input[type=file]{
border: 0 solid transparent;
box-shadow: none;
@@ -1903,3 +1899,11 @@ span#permalink, .navbar-nav .lbl, #areas-div label, #permalink, #simple_button,
.main_category.full .main-category-tick{
color: #AA3333;
}
+
+
+.modal-dialog.modal-xl {
+ width: 80%;
+ padding: 0;
+ max-width: none;
+}
+
diff --git a/chimere/templatetags/bootstrap.py b/chimere/templatetags/bootstrap.py
index 1960355..1a392f9 100644
--- a/chimere/templatetags/bootstrap.py
+++ b/chimere/templatetags/bootstrap.py
@@ -22,7 +22,7 @@ def translate(text):
@register.inclusion_tag('blocks/bootstrap-modal.html')
def bootstrap_modal(winid, title="", content="", size="", edit=False):
- if size not in ['large', 'small']:
+ if size not in ['xlarge', 'large', 'small']:
size = ""
context_data = {
"id": winid,