mirror of
https://github.com/status-im/liquid-funding.git
synced 2025-01-11 12:04:21 +00:00
add spacing between FundsManagement elements
This commit is contained in:
parent
4d1b4f849c
commit
47e287adb0
@ -9,11 +9,12 @@ import CreateFunding from './CreateFunding'
|
||||
const FundsManagement = ({ open }) => {
|
||||
const windowWidth = window.visualViewport.width
|
||||
const maxWidth = open ? `${windowWidth * 0.80}px` : '90vw'
|
||||
const height = `${window.visualViewport.height * 2.2}px`
|
||||
const WebkitTransition = 'all 0.25s ease-out 0s'
|
||||
return (
|
||||
<FundingContext.Consumer>
|
||||
{({ appendPledges, appendFundProfile }) =>
|
||||
<div style={{ maxWidth, WebkitTransition }}>
|
||||
<div style={{ maxWidth, WebkitTransition, height, display: 'flex', flexDirection: 'column', justifyContent: 'space-between' }}>
|
||||
<PledgesTable />
|
||||
<FunderProfilesTable />
|
||||
<AddFunder appendFundProfile={appendFundProfile} />
|
||||
|
@ -112,7 +112,7 @@ class PledgesTable extends Component {
|
||||
}
|
||||
]}
|
||||
/>
|
||||
{rowData && <WithdrawCard rowData={rowData} clearRowData={this.clearRowData} />}
|
||||
{rowData ? <WithdrawCard rowData={rowData} clearRowData={this.clearRowData} /> : <div/>}
|
||||
</Fragment>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user