fix(my-joy-beta): fix affinity field sizes
# Conflicts: # packages/my-joy-beta/src/containers/create-instance/index.js
This commit is contained in:
parent
01e10c6962
commit
50c1b6e9b1
@ -37,8 +37,8 @@ export const Rule = rule => (
|
||||
width={remcalc(66)}
|
||||
embedded
|
||||
>
|
||||
<option value="must">must</option>
|
||||
<option value="should">should</option>
|
||||
<option value="must">must</option>
|
||||
</Select>
|
||||
</FormGroup>
|
||||
<H5 style={style} inline noMargin>
|
||||
@ -48,7 +48,7 @@ export const Rule = rule => (
|
||||
<Select
|
||||
style={style}
|
||||
touched={rule['rule-instance-placement']}
|
||||
width={remcalc(90)}
|
||||
width={remcalc(100)}
|
||||
embedded
|
||||
>
|
||||
<option value="same">the same</option>
|
||||
@ -62,7 +62,7 @@ export const Rule = rule => (
|
||||
<Select
|
||||
style={style}
|
||||
touched={rule['rule-type']}
|
||||
width={remcalc(120)}
|
||||
width={remcalc(135)}
|
||||
embedded
|
||||
left
|
||||
>
|
||||
|
@ -124,7 +124,7 @@ export const Affinity = ({
|
||||
</ReduxForm>
|
||||
{expanded ? (
|
||||
<Margin top={2} bottom={4}>
|
||||
{affinityRules.length === 0 ? (
|
||||
{!addOpen && affinityRules.length === 0 ? (
|
||||
<Button
|
||||
type="button"
|
||||
onClick={() => handleChangeAddOpen(true)}
|
||||
|
@ -41,6 +41,7 @@ const CREATE_FORM = 'CREATE-INSTANCE';
|
||||
|
||||
const CreateInstance = ({
|
||||
step,
|
||||
error,
|
||||
disabled,
|
||||
handleSubmit,
|
||||
history,
|
||||
|
Loading…
Reference in New Issue
Block a user