2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 20:16:44 +00:00

Part display tweaks

This commit is contained in:
Oliver Walters 2021-02-24 16:37:32 +11:00
parent a660578262
commit 2a7b32d4f4
2 changed files with 157 additions and 150 deletions

View File

@ -545,7 +545,7 @@
} }
.media { .media {
padding-top: 15px; //padding-top: 15px;
overflow: visible; overflow: visible;
} }
@ -811,6 +811,11 @@ input[type="submit"] {
background-color: #fafafa; background-color: #fafafa;
} }
.panel-inventree {
padding: 10px;
box-shadow: 1px 1px #DDD;
}
.float-right { .float-right {
float: right; float: right;
} }

View File

@ -26,8 +26,9 @@
</div> </div>
{% endif %} {% endif %}
<div class="row"> <div class='panel panel-default panel-inventree'>
<div class="col-sm-6"> <div class="row">
<div class="col-sm-6">
{% include "part/part_thumb.html" %} {% include "part/part_thumb.html" %}
<div class="media-body"> <div class="media-body">
<h3> <h3>
@ -114,8 +115,8 @@
</table> </table>
</div> </div>
</div> </div>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<table class="table table-striped"> <table class="table table-striped">
<col width='25'> <col width='25'>
<tr> <tr>
@ -182,17 +183,18 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
</table> </table>
</div> </div>
</div>
</div> </div>
<hr>
<div class='container-fluid'> <div class='container-fluid'>
{% block details %} {% block details %}
<!-- Specific part details go here... --> <!-- Specific part details go here... -->
{% endblock %} {% endblock %}
</div> </div>
{% endblock %} {% endblock %}