fix: Transparent thumbnails show document behind in hover previews

This commit is contained in:
Tom Moor
2023-07-29 22:51:14 -04:00
parent a3983c36c9
commit 7e1ea69939
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
import * as React from "react";
import styled from "styled-components";
import { s } from "@shared/styles";
import Flex from "~/components/Flex";
import {
Preview,
@@ -44,6 +45,7 @@ const Thumbnail = styled.img`
object-fit: cover;
max-width: ${CARD_WIDTH}px;
height: ${THUMBNAIL_HEIGHT}px;
background: ${s("menuBackground")};
`;
export default HoverPreviewLink;