41 lines
441 B
SCSS
41 lines
441 B
SCSS
|
RV-ContentCrop{
|
||
|
&,* {
|
||
|
overflow: hidden;
|
||
|
word-break: break-all;
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
width: inherit;
|
||
|
height: inherit;
|
||
|
object-fit: cover;
|
||
|
object-position: center;
|
||
|
}
|
||
|
|
||
|
&--left {
|
||
|
img {
|
||
|
object-position: left;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&--right {
|
||
|
img {
|
||
|
object-position: right;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&--top {
|
||
|
img {
|
||
|
object-position: top;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&--bottom {
|
||
|
img {
|
||
|
object-position: bottom;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.RV-ContentCrop__Container {
|
||
|
@extend RV-ContentCrop;
|
||
|
}
|