Skip to content

Commit

Permalink
feat: remove bubble around X-button
Browse files Browse the repository at this point in the history
  • Loading branch information
marxtin committed Jan 16, 2025
1 parent 4e2ec75 commit 2e9a4d8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/components/src/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import styled, { css } from 'styled-components';
import { WidthProps } from 'styled-system';

import { MaterialClear } from '@t3n/icons';
import { theme } from '@t3n/theme';

import Box from '../Box';
import Card from '../Card';
Expand Down Expand Up @@ -69,14 +68,6 @@ const StyledIconContainer = styled(Box)`
position: absolute;
top: 10px;
right: 10px;
border-radius: 50%;
fill: ${theme.colors.text.primary};
&:hover {
cursor: pointer;
background: ${theme.colors.brand.red};
fill: ${theme.colors.text.inverse};
}
`;

const CloseIcon: React.FC<{ onClick: () => void }> = ({ onClick }) => {
Expand All @@ -85,7 +76,6 @@ const CloseIcon: React.FC<{ onClick: () => void }> = ({ onClick }) => {
onClick={onClick}
alignItems="center"
justifyContent="center"
bg="shades.grey232"
p={1}
display="flex"
width="40px"
Expand Down

0 comments on commit 2e9a4d8

Please sign in to comment.