mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-23 19:39:31 +00:00
Fixed image display style for odd shaped (very small) images.
This commit is contained in:
parent
f9d5a9a3b5
commit
05ab3c3b7b
4 changed files with 19 additions and 4 deletions
|
|
@ -46,4 +46,19 @@
|
|||
height: 1.5em;
|
||||
max-width: 2.0em;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.part-table-image {
|
||||
max-height: 40px;
|
||||
object-fit: contain;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.part-info-image {
|
||||
max-height: 350px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.object-fit-cover {
|
||||
object-fit: cover;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue