Skip to content

Commit

Permalink
Merge pull request #324 from zhang-accounting/fix/file-upload-box-style
Browse files Browse the repository at this point in the history
fix: import dropzone style file
  • Loading branch information
Kilerd authored May 13, 2024
2 parents 1138cd0 + dc8d91c commit 444a6d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
"pre-commit": "p run prettier:fix"
}
},
"lint-staged": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function TransactionPreview(props: Props) {
)}
<Box mx={1} my={4}>
<Section title={`${props.data.metas.filter((meta) => meta.key === 'document').length} Documents`}>
<SimpleGrid cols={{ base: 4, md: 3, sm: 2, xs: 1 }} spacing={{ base: 'sm', md: 'md', sm: 'sm', xs: 'sm' }}>
<SimpleGrid cols={{ base: 1, md: 2, lg: 4 }} spacing={{ base: 'sm', md: 'md', sm: 'sm', xs: 'sm' }}>
{props.data.metas
.filter((meta) => meta.key === 'document')
.map((meta, idx) => (
Expand Down
1 change: 1 addition & 0 deletions frontend/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import '@mantine/core/styles.css';
import '@mantine/notifications/styles.css';
import '@mantine/dates/styles.css';
import '@mantine/charts/styles.css';
import '@mantine/dropzone/styles.css';
import { TransactionEditModal } from './components/modals/TransactionEditModal';
import { MantineEmotionProvider } from '@mantine/emotion';

Expand Down

0 comments on commit 444a6d5

Please sign in to comment.