Fixes for part "card" view

This commit is contained in:
Oliver 2021-10-28 17:16:32 +11:00
parent 0ef0c539a7
commit c4fd9b7177
2 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
:root {
--primary-color: #335d88;
--secondary-color: #dcdcda;
--secondary-color: #e4dfdf;
--highlight-color: #f5efe8;
--border-color: #ccc;
@ -1106,10 +1106,14 @@ input[type='number']{
width: 20%;
padding: 5px;
min-height: 25px;
background-color: transparent;
}
.product-card-panel{
height: 100%;
border: 1px solid #ccc;
box-shadow: 2px 2px #DDD;
margin-bottom: 5px;
}
.borderless {
border: none;
}

View File

@ -791,7 +791,7 @@ function partGridTile(part) {
var html = `
<div class='product-card card'>
<div class='card product-card borderless'>
<div class='panel product-card-panel'>
<div class='panel-heading'>
<a href='/part/${part.pk}/'>