18219: Improves the property adding form layout.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Fri, 17 Dec 2021 21:01:45 +0000 (18:01 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Fri, 17 Dec 2021 22:36:10 +0000 (19:36 -0300)
Instead of dividing the horizontal space equally between the 2 input fields
and the button, make just the both input fields take all the available
space.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

src/views-components/resource-properties-form/resource-properties-form.tsx

index 94a3c95517caa1f534aa715d1f1fa8508448078d..979d772ea5807cb0646fb934ec9b9c824fc559e2 100644 (file)
@@ -30,7 +30,7 @@ export const ResourcePropertiesForm = ({ handleSubmit, change, submitting, inval
             <Grid item xs>
                 <PropertyValueField />
             </Grid>
-            <Grid item xs>
+            <Grid item>
                 <Button
                     data-cy='property-add-btn'
                     disabled={invalid}