mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
BIG-19 fix: scrollable area on details drawer.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import React, { lazy } from 'react';
|
||||
import intl from 'react-intl-universal';
|
||||
|
||||
import { Drawer, DrawerSuspense } from 'components';
|
||||
import withDrawers from 'containers/Drawer/withDrawers';
|
||||
import intl from 'react-intl-universal';
|
||||
|
||||
import { compose } from 'utils';
|
||||
|
||||
@@ -13,7 +14,7 @@ const ExpenseDrawerContent = lazy(() => import('./ExpenseDrawerContent'));
|
||||
function ExpenseDrawer({
|
||||
name,
|
||||
|
||||
//#withDrawer
|
||||
// #withDrawer
|
||||
isOpen,
|
||||
payload: { expenseId },
|
||||
}) {
|
||||
@@ -23,10 +24,7 @@ function ExpenseDrawer({
|
||||
name={name}
|
||||
title={intl.get('expense')}
|
||||
size={'65%'}
|
||||
style={{
|
||||
minWidth: '700px',
|
||||
maxWidth: '900px',
|
||||
}}
|
||||
style={{ minWidth: '700px', maxWidth: '900px' }}
|
||||
>
|
||||
<DrawerSuspense>
|
||||
<ExpenseDrawerContent expenseId={expenseId} />
|
||||
|
||||
Reference in New Issue
Block a user