Skip to content
Snippets Groups Projects
Commit 4acac3c3 authored by lain's avatar lain
Browse files

Merge branch 'fix/attachment-sizing-cover-fix' into 'develop'

Fix attachment cover/contain again

See merge request pleroma/pleroma-fe!1141
parents 4e3ce187 14348d8d
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,7 @@
video,
canvas {
object-fit: contain;
height: 100%;
}
}
......
......@@ -23,13 +23,6 @@
<style lang="scss">
@import '../../_variables.scss';
.contain-fit {
.still-image {
img {
height: 100%;
}
}
}
.still-image {
position: relative;
......@@ -38,6 +31,7 @@
width: 100%;
height: 100%;
display: flex;
align-items: center;
&:hover canvas {
display: none;
......@@ -45,8 +39,8 @@
img {
width: 100%;
min-height: 100%;
object-fit: contain;
align-self: center;
}
&.animated {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment