diff --git a/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/key-value.spec.js.snap b/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/key-value.spec.js.snap index 4f940d6a..ae5ce089 100644 --- a/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/key-value.spec.js.snap +++ b/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/key-value.spec.js.snap @@ -67,11 +67,6 @@ exports[`renders 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 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 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 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 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 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 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 { diff --git a/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/tags.spec.js.snap b/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/tags.spec.js.snap index 9b60ad65..fe07f429 100644 --- a/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/tags.spec.js.snap +++ b/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/tags.spec.js.snap @@ -731,11 +731,6 @@ exports[`renders 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 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 { diff --git a/packages/my-joy-beta/src/components/instances/key-value.js b/packages/my-joy-beta/src/components/instances/key-value.js index 7be18b8d..b76f6694 100644 --- a/packages/my-joy-beta/src/components/instances/key-value.js +++ b/packages/my-joy-beta/src/components/instances/key-value.js @@ -79,7 +79,7 @@ const TextareaKeyValue = ({ type, submitting }) => [ ]; const InputKeyValue = ({ type, submitting }) => ( - + {titleCase(type)} key @@ -132,8 +132,7 @@ export const KeyValue = ({ name="name" type="text" component={({ input = {} }) => - !expanded ? `${input.value}: ` : {`${input.value}: `} - } + !expanded ? `${input.value}: ` : {`${input.value}: `}} /> 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 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 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 {