diff --git a/web/src/components/PreviewCard/Terms/AttachedFile.tsx b/web/src/components/PreviewCard/Terms/AttachedFile.tsx index 4d3366c..4062b49 100644 --- a/web/src/components/PreviewCard/Terms/AttachedFile.tsx +++ b/web/src/components/PreviewCard/Terms/AttachedFile.tsx @@ -1,23 +1,18 @@ import React from "react"; import { Link } from "react-router-dom"; -import styled, { css } from "styled-components"; +import styled from "styled-components"; import AttachmentIcon from "svgs/icons/attachment.svg"; import { responsiveSize } from "styles/responsiveSize"; -import { landscapeStyle } from "styles/landscapeStyle"; import { getIpfsUrl } from "utils/getIpfsUrl"; const StyledA = styled(Link)` - height: fit-content; display: flex; gap: ${responsiveSize(5, 6)}; - ${landscapeStyle( - () => css` - > svg { - width: 16px; - fill: ${({ theme }) => theme.primaryBlue}; - } - ` - )} + + > svg { + width: 16px; + fill: ${({ theme }) => theme.primaryBlue}; + } `; interface IAttachedFile {