more ui fixes
This commit is contained in:
parent
7293b4bfc5
commit
6eea59337d
@ -13,8 +13,8 @@ const { TabPane } = Tabs;
|
||||
const InputWrapper = styled(Box)`
|
||||
width: 100%;
|
||||
${mq.desktop`
|
||||
flex: 2 0 23%;
|
||||
width:${(props) => props.width};
|
||||
flex: ${(props) => (props.size === 'min' ? '1 0' : '2 0 23%')};
|
||||
width:${(props) => props.size === 'max' && '100%'};
|
||||
`}
|
||||
margin: 8px 8px;
|
||||
`;
|
||||
@ -39,6 +39,7 @@ const Sections = () => (
|
||||
key={ie}
|
||||
newLine={layout && layout.newLine}
|
||||
width={layout && layout.width}
|
||||
size={layout && layout.size}
|
||||
>
|
||||
{withTitle(title)(Component)(props)}
|
||||
</InputWrapper>
|
||||
|
||||
@ -175,7 +175,7 @@ export default [
|
||||
valueName: 'broker',
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
/** */
|
||||
{
|
||||
divider: { empty: true },
|
||||
@ -198,7 +198,7 @@ export default [
|
||||
valueName: 'doubleAgentgent',
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
/** */
|
||||
{
|
||||
divider: { empty: true },
|
||||
@ -213,7 +213,7 @@ export default [
|
||||
valueName: 'commentLead',
|
||||
},
|
||||
layout: {
|
||||
width: '100%',
|
||||
size: 'max',
|
||||
},
|
||||
},
|
||||
|
||||
@ -230,6 +230,9 @@ export default [
|
||||
name: 'cbxRecalcWthtRevision',
|
||||
valueName: 'recalcWthtRevision',
|
||||
},
|
||||
layout: {
|
||||
size: 'min',
|
||||
},
|
||||
},
|
||||
{
|
||||
Component: Button,
|
||||
|
||||
Reference in New Issue
Block a user