aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form/Form.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Form/Form.css')
-rw-r--r--src/components/Form/Form.css15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/components/Form/Form.css b/src/components/Form/Form.css
index 9dbfd6f..9d46f62 100644
--- a/src/components/Form/Form.css
+++ b/src/components/Form/Form.css
@@ -27,7 +27,7 @@ label {
display: flex;
flex-direction: row;
justify-content: space-between;
- height: 50vh; }
+ height: 85%; }
.addNewItemForm .textInputs,
.addNewItemForm .numericInputs {
@@ -69,3 +69,16 @@ label {
justify-content: space-between;
padding: 0.8rem 0;
border-bottom: 1px dotted lightblue; }
+
+@media only screen and (max-device-width: 480px) {
+ .formContainer {
+ padding: 0.5rem;
+ height: auto; }
+ .addNewItemForm {
+ flex-direction: column; }
+ .addNewItemForm .textInputs,
+ .addNewItemForm .numericInputs,
+ .addNewItemForm .menuButtons {
+ width: 90%;
+ padding: 1rem;
+ margin: 1rem auto; } }