fix(my-joy-beta): fix small tag bugs

This commit is contained in:
Sara Vieira 2017-12-22 14:37:57 +00:00 committed by Sérgio Ramos
parent a62b95072f
commit e297eb7669
4 changed files with 2 additions and 63 deletions

View File

@ -67,11 +67,6 @@ exports[`renders <KeyValue /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c7 {
@ -1205,11 +1200,6 @@ exports[`renders <KeyValue input="input" /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c7 {
@ -3157,11 +3147,6 @@ exports[`renders <KeyValue method="add" /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c7 {
@ -4113,11 +4098,6 @@ exports[`renders <KeyValue method="edit" /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c7 {
@ -5066,11 +5046,6 @@ exports[`renders <KeyValue removing /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c7 {
@ -6091,11 +6066,6 @@ exports[`renders <KeyValue submitting /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c7 {
@ -7185,11 +7155,6 @@ exports[`renders <KeyValue type="tag" /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c7 {

View File

@ -731,11 +731,6 @@ exports[`renders <AddForm /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c7 {
@ -1702,11 +1697,6 @@ exports[`renders <EditForm /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c7 {

View File

@ -79,7 +79,7 @@ const TextareaKeyValue = ({ type, submitting }) => [
];
const InputKeyValue = ({ type, submitting }) => (
<Flex full justifyStart contentStretch>
<Flex justifyStart contentStretch>
<FlexItem basis="auto">
<FormGroup name="name" field={Field} fluid>
<FormLabel>{titleCase(type)} key</FormLabel>
@ -132,8 +132,7 @@ export const KeyValue = ({
name="name"
type="text"
component={({ input = {} }) =>
!expanded ? `${input.value}: ` : <b>{`${input.value}: `}</b>
}
!expanded ? `${input.value}: ` : <b>{`${input.value}: `}</b>}
/>
<Field
name="value"

View File

@ -1512,11 +1512,6 @@ exports[`renders <Tags addOpen /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c22 {
@ -2927,11 +2922,6 @@ exports[`renders <Tags editing /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c22 {
@ -4433,11 +4423,6 @@ exports[`renders <Tags editing.removing /> without throwing 1`] = `
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
width: 100%;
height: 100%;
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
.c22 {