Skip to content

Commit

Permalink
feat: remove card borders
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed Jun 16, 2024
1 parent ad11f9e commit 1aa6d85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const CardTitle = styled(Box)(({ theme }) => ({

export const CardWrapper = styled(Paper, { name: 'CardWrapper' })(({ theme }) => ({
padding: theme.spacing(2.5, 5),
boxShadow: `0px 4px 12px 0px #9595953D`,
boxShadow: `9px 9px 18px #e2e4e7, -9px -9px 18px #fbfbfb`,
overflowX: 'auto',
scrollbarWidth: 'thin',

Expand Down
1 change: 0 additions & 1 deletion src/components/Search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const Field = styled(TextField)(({ theme }) => ({
paddingLeft: 5,
minHeight: 36,
},
border: `1px solid ${theme.palette.divider}`,
borderRadius: 6,
}));

Expand Down
5 changes: 3 additions & 2 deletions src/theme/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,8 @@ export const useCreateTheme = (mode: PaletteType) => {
MuiPaper: {
styleOverrides: {
elevation1: {
border: `1px solid ${colors.divider}`,
// border: `1px solid ${colors.divider}`,
border: 'none',
boxShadow: 'none',
},
rounded: {
Expand Down Expand Up @@ -648,7 +649,7 @@ export const useCreateTheme = (mode: PaletteType) => {
lineHeight: 1.6,
maxWidth: 400,
padding: `${spacing * 1.5}px ${spacing * 2.5}px`,
boxShadow: `0px 4px 14px rgba(101, 101, 101, 0.21)`,
boxShadow: `0px 2px 12px rgba(101, 101, 101, 0.21)`,
border: `1px solid ${alpha(colors.text.primary, 0.2)}`,
},
arrow: {
Expand Down

0 comments on commit 1aa6d85

Please sign in to comment.