Skip to content

Commit

Permalink
feat(DEV-13429): remove extra padding for tables
Browse files Browse the repository at this point in the history
  • Loading branch information
saladNights committed Dec 17, 2024
1 parent 3a06141 commit d1d962c
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ const ApprovalPoliciesTableBase = ({
overflow: 'hidden',
height: 'inherit',
minHeight: '500px',
pt: 2,
}}
>
<Filters onChangeFilter={onChangeFilter} sx={{ mb: 2 }} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ const ApprovalRequestsTableBase = ({
overflow: 'hidden',
height: 'inherit',
minHeight: '500px',
pt: 2,
}}
>
<ApprovalRequestsFilter onChangeFilter={onChangeFilter} sx={{ mb: 2 }} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ const CounterpartsTableBase = ({
overflow: 'hidden',
height: 'inherit',
minHeight: '500px',
pt: 2,
}}
>
<FiltersComponent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@ const PayablesTableBase = ({
overflow: 'hidden',
height: 'inherit',
minHeight: '500px',
pt: 2,
}}
>
{isShowingSummaryCards && !summaryCardFilters && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ const ProductsTableBase = ({
overflow: 'hidden',
height: 'inherit',
minHeight: '500px',
pt: 2,
}}
>
<FiltersComponent onChangeFilter={onChangeFilter} sx={{ mb: 2 }} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ const CreditNotesTableBase = ({
overflow: 'hidden',
height: 'inherit',
minHeight: '500px',
pt: 2,
}}
>
<ReceivableFilters onChange={onChangeFilter} filters={filters} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ const FinancedInvoicesTableBase = ({
flexDirection: 'column',
overflow: 'hidden',
height: 'inherit',
pt: 2,
}}
>
<Typography mb={2} variant="subtitle1">{t(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ const InvoicesTableBase = ({
overflow: 'hidden',
height: 'inherit',
minHeight: '500px',
pt: 2,
}}
>
<Box mb={2}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ const QuotesTableBase = ({
overflow: 'hidden',
height: 'inherit',
minHeight: '500px',
pt: 2,
}}
>
<ReceivableFilters onChange={onChangeFilter} filters={filters} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ const TagsTableBase = ({
overflow: 'hidden',
height: 'inherit',
minHeight: '500px',
pt: 2,
}}
>
<DataGrid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ const UserRolesTableBase = ({
overflow: 'hidden',
height: 'inherit',
minHeight: '500px',
pt: 2,
}}
>
<Filters onChangeFilter={onChangeFilter} sx={{ mb: 2 }} />
Expand Down
19 changes: 1 addition & 18 deletions packages/sdk-react/src/utils/storybook-utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,24 +96,7 @@ export const GlobalStorybookDecorator = (props: {
[]
);

const defaultThemeConfig: ThemeConfig = {
borderRadius: 10,
spacing: 4,

colors: {
primary: '#000000',
secondary: '#CD0F0F',
neutral: '#c6c9f8',
background: '#f4f4fe',

text: '#242dd3',
},

typography: {
fontFamily: 'monospace',
fontSize: 12,
},
};
const defaultThemeConfig: ThemeConfig = {};

return (
<>
Expand Down

0 comments on commit d1d962c

Please sign in to comment.