fix thumbnail border radius on homepage
This commit is contained in:
parent
8cf6cc5125
commit
70b9d82070
2 changed files with 11 additions and 1 deletions
|
@ -92,7 +92,7 @@
|
|||
.media__thumb {
|
||||
$width: var(--file-list-thumbnail-width);
|
||||
width: $width;
|
||||
@include handleClaimTileGifThumbnail($width);
|
||||
@include handleClaimListGifThumbnail($width);
|
||||
|
||||
flex-shrink: 0;
|
||||
margin-right: var(--spacing-medium);
|
||||
|
|
|
@ -19,6 +19,16 @@
|
|||
}
|
||||
|
||||
@mixin handleClaimTileGifThumbnail($width) {
|
||||
.ff-canvas,
|
||||
.freezeframe-img {
|
||||
height: calc(#{$width} * (9 / 16)) !important;
|
||||
width: $width;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin handleClaimListGifThumbnail($width) {
|
||||
.ff-canvas,
|
||||
.freezeframe-img {
|
||||
height: calc(#{$width} * (9 / 16)) !important;
|
||||
|
|
Loading…
Reference in a new issue