Merge branch '632' into 'develop'
Fix gif image zoom bug on hover Closes #632 See merge request pleroma/pleroma-fe!905
This commit is contained in:
commit
a45f258a2c
1 changed files with 6 additions and 2 deletions
|
@ -61,13 +61,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.contain-fit {
|
&.contain-fit {
|
||||||
img, video {
|
img,
|
||||||
|
video,
|
||||||
|
canvas {
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.cover-fit {
|
&.cover-fit {
|
||||||
img, video {
|
img,
|
||||||
|
video,
|
||||||
|
canvas {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue