From f4700e8e10d519ac4e451435f946d470a0b96677 Mon Sep 17 00:00:00 2001 From: Alexey Safronov Date: Tue, 14 Feb 2023 12:21:30 +0300 Subject: [PATCH] Web: Tiles: Set object-fit: none; --- .../pages/Home/Section/Body/TilesView/sub-components/Tile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/pages/Home/Section/Body/TilesView/sub-components/Tile.js b/packages/client/src/pages/Home/Section/Body/TilesView/sub-components/Tile.js index 0dc2148d32..c3d58a14b4 100644 --- a/packages/client/src/pages/Home/Section/Body/TilesView/sub-components/Tile.js +++ b/packages/client/src/pages/Home/Section/Body/TilesView/sub-components/Tile.js @@ -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;