Web: Tiles: Set object-fit: none;

This commit is contained in:
Alexey Safronov 2023-02-14 12:21:30 +03:00
parent 66806facb4
commit f4700e8e10

View File

@ -261,7 +261,7 @@ const StyledFileTileTop = styled.div`
position: absolute;
height: 100%;
width: 100%;
object-fit: ${(props) => (props.isMedia ? "cover" : "none")};
object-fit: none;
object-position: top;
z-index: 0;
border-radius: 6px 6px 0 0;