diff --git a/app/components/FunderProfilesTable.jsx b/app/components/FunderProfilesTable.jsx index edf6651..7a32b23 100644 --- a/app/components/FunderProfilesTable.jsx +++ b/app/components/FunderProfilesTable.jsx @@ -14,7 +14,7 @@ const formatField = field => ({ commitTime: convertToHours(field.commitTime), canceled: cancelText(field.canceled) }) -const FunderProfilesTable = ({ data, cancelFundProfile, profiles }) => ( +const FunderProfilesTable = ({ cancelFundProfile, profiles }) => ( {({ account }) => diff --git a/app/components/FundsManagement.jsx b/app/components/FundsManagement.jsx index 631cc4e..9b7a069 100644 --- a/app/components/FundsManagement.jsx +++ b/app/components/FundsManagement.jsx @@ -7,13 +7,15 @@ import AddFunder from './AddFunder' import CreateFunding from './CreateFunding' const FundsManagement = ({ open }) => { - const maxWidth = open ? `${window.visualViewport.width - 35}px` : '100vw' + const windowWidth = window.visualViewport.width + const maxWidth = open ? `${windowWidth * 0.80}px` : '100vw' + const WebkitTransition = 'all 0.25s ease-out 0s' return ( {({ allPledges, appendPledges, appendFundProfile, transferPledgeAmounts, fundProfiles, cancelFundProfile }) => -
+
- + diff --git a/app/components/MainCointainer.jsx b/app/components/MainCointainer.jsx index 6a17626..4a90e20 100644 --- a/app/components/MainCointainer.jsx +++ b/app/components/MainCointainer.jsx @@ -47,9 +47,6 @@ const styles = theme => ({ appBarBg: { backgroundColor: '#111735' }, - childrenShift: { - width: `calc(100% - ${drawerWidth}px)` - }, menuButton: { marginLeft: 12, marginRight: 20, @@ -195,9 +192,7 @@ class PersistentDrawerLeft extends React.Component { })} >
-
+