Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

Commit 24f1704

Browse files
committed
Set object-fit for iframe view
1 parent 1966cb6 commit 24f1704

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/assets/stylesheets/lentil/iframe.css.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ body.lentil-images_iframe {
1212
margin: 0;
1313
max-width: none;
1414
width: 100%;
15+
height: 100%;
16+
}
17+
18+
.square-media {
19+
object-fit: cover;
20+
overflow: hidden;
1521
}
1622

1723
#iframe-wrapper {

0 commit comments

Comments
 (0)