Small code review tweaks
This commit is contained in:
@@ -65,7 +65,7 @@ export const Container =
|
|||||||
${props => cssRuleIfExists(props, 'cursor')}
|
${props => cssRuleIfExists(props, 'cursor')}
|
||||||
${props => cssRuleIfExists(props, 'overflow')}
|
${props => cssRuleIfExists(props, 'overflow')}
|
||||||
${props => (props.hasBoxShadow ? `box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1)` : '')};
|
${props => (props.hasBoxShadow ? `box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1)` : '')};
|
||||||
${props => stylesForMedia('display', props.display || 'initial')}
|
${props => props.display && stylesForMedia('display', props.display)}
|
||||||
${props => stylesForMedia('width', props.width || 'auto')}
|
${props => stylesForMedia('width', props.width || 'auto')}
|
||||||
${props => stylesForMedia('height', props.height || 'auto')}
|
${props => stylesForMedia('height', props.height || 'auto')}
|
||||||
background-color: ${props => (props.backgroundColor ? props.theme[props.backgroundColor] : 'none')};
|
background-color: ${props => (props.backgroundColor ? props.theme[props.backgroundColor] : 'none')};
|
||||||
|
@@ -44,7 +44,7 @@ export class ZeroExInstantContainer extends React.Component<ZeroExInstantContain
|
|||||||
overflow="hidden"
|
overflow="hidden"
|
||||||
height="100%"
|
height="100%"
|
||||||
>
|
>
|
||||||
<Flex direction="column" height={'100%'} justify="flex-start">
|
<Flex direction="column" height="100%" justify="flex-start">
|
||||||
<SelectedAssetInstantHeading onSelectAssetClick={this._handleSymbolClick} />
|
<SelectedAssetInstantHeading onSelectAssetClick={this._handleSymbolClick} />
|
||||||
<SelectedAssetBuyOrderProgress />
|
<SelectedAssetBuyOrderProgress />
|
||||||
<LatestBuyQuoteOrderDetails />
|
<LatestBuyQuoteOrderDetails />
|
||||||
|
Reference in New Issue
Block a user