add toggle for testing cropped thumbnails

This commit is contained in:
r888888888
2017-09-06 17:02:43 -07:00
parent 599f2a59fe
commit 63f7edd0c6
4 changed files with 8 additions and 3 deletions

View File

@@ -101,13 +101,13 @@
margin: 0 auto;
}
img {
object-fit: cover;
object-fit: contain;
width: 48.5vw;
height: 48.5vw;
margin: 0 auto;
border: none;
}
img.cropped {
img.cropped-true {
object-fit: cover;
}
&[data-tags~=animated]:before, &[data-file-ext=swf]:before, &[data-file-ext=webm]:before, &[data-file-ext=mp4]:before, &[data-file-ext=zip]:before {