mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-20 17:19:34 +00:00
Update images.css to improve the preview image size on mobile phones
The hoverpic min-width and max-width are now the same size, to improve the preview image size on mobile phones.
This commit is contained in:
parent
a9852248f3
commit
1a291744e4
1 changed files with 3 additions and 3 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
.hoverpic {
|
||||
min-width: 30px;
|
||||
max-width: 80px;
|
||||
max-width: 30px;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
}
|
||||
|
||||
.part-table-image {
|
||||
max-height: 80px;
|
||||
max-height: 40px;
|
||||
object-fit: contain;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
@ -61,4 +61,4 @@
|
|||
|
||||
.object-fit-cover {
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue