Skip to content

Commit

Permalink
fix(web): fix-svg-width-on-mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Harman-singh-waraich committed Jun 25, 2024
1 parent 867a34d commit 5473436
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions web/src/components/PreviewCard/Terms/AttachedFile.tsx
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 5473436

Please sign in to comment.