respect aspect ration for works
This commit is contained in:
@@ -548,6 +548,14 @@ code, pre, kbd, samp {
|
||||
filter: saturate(0.94) contrast(1.02);
|
||||
transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.4s ease;
|
||||
}
|
||||
/* Natural mode — container drops fixed aspect so image shows its true ratio. */
|
||||
.plate .plate-image.is-natural {
|
||||
height: auto;
|
||||
}
|
||||
.plate .plate-image.is-natural img {
|
||||
height: auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
.plate:hover .plate-image img {
|
||||
transform: scale(1.03);
|
||||
filter: saturate(1.05) contrast(1.04);
|
||||
|
||||
Reference in New Issue
Block a user