diff --git a/InvenTree/InvenTree/static/css/inventree.css b/InvenTree/InvenTree/static/css/inventree.css index 6f8bd858b7..7f0d3ea9ae 100644 --- a/InvenTree/InvenTree/static/css/inventree.css +++ b/InvenTree/InvenTree/static/css/inventree.css @@ -676,7 +676,10 @@ } .modal-header { - border-bottom: 1px solid #ddd; + border-bottom: 1px solid #ccc; + background-color: #dcdcdc; + color: #555; + padding: 10px; } .modal-footer { @@ -798,8 +801,8 @@ input[type="submit"] { padding-bottom: 3px; } -.modal .btn-secondary { - background-color: #5e7d87; +.modal .btn-form-secondary { + margin-bottom: 10px; } .inventree-navs { diff --git a/InvenTree/templates/js/translated/forms.js b/InvenTree/templates/js/translated/forms.js index 037a729aa8..f9958ee127 100644 --- a/InvenTree/templates/js/translated/forms.js +++ b/InvenTree/templates/js/translated/forms.js @@ -1296,7 +1296,7 @@ function addSecondaryModal(field, fields, options) { var html = ` -
+
${secondary.label || secondary.title}
`; diff --git a/InvenTree/templates/js/translated/modals.js b/InvenTree/templates/js/translated/modals.js index f281760cc2..0134f2efa8 100644 --- a/InvenTree/templates/js/translated/modals.js +++ b/InvenTree/templates/js/translated/modals.js @@ -47,14 +47,12 @@ function createNewModal(options={}) {