mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-21 01:29:33 +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 {
|
.hoverpic {
|
||||||
min-width: 30px;
|
min-width: 30px;
|
||||||
max-width: 80px;
|
max-width: 30px;
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.part-table-image {
|
.part-table-image {
|
||||||
max-height: 80px;
|
max-height: 40px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
@ -61,4 +61,4 @@
|
||||||
|
|
||||||
.object-fit-cover {
|
.object-fit-cover {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue