Fix trimmed quantity inputs in draft order (#1232)

* Fix trimmed quantity inputs in draft orders

* Make order draft quantity inputs more responsive

* Update width
This commit is contained in:
Dawid Tarasiuk 2021-07-21 11:10:16 +02:00 committed by GitHub
parent 62817568a7
commit 8d58a4efeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 20 deletions

View file

@ -32,16 +32,13 @@ const useStyles = makeStyles(
marginLeft: AVATAR_MARGIN
},
colPrice: {
textAlign: "right",
width: 150
textAlign: "right"
},
colQuantity: {
textAlign: "right",
width: 80
textAlign: "right"
},
colTotal: {
textAlign: "right",
width: 150
textAlign: "right"
},
errorInfo: {
color: theme.palette.error.main

View file

@ -29,16 +29,13 @@ const useStyles = makeStyles(
marginLeft: AVATAR_MARGIN
},
colPrice: {
textAlign: "right",
width: 150
textAlign: "right"
},
colQuantity: {
textAlign: "right",
width: 80
textAlign: "right"
},
colTotal: {
textAlign: "right",
width: 150
textAlign: "right"
},
strike: {
textDecoration: "line-through",
@ -47,13 +44,6 @@ const useStyles = makeStyles(
errorInfo: {
color: theme.palette.error.main
},
quantityField: {
"& input": {
padding: "12px 12px 10px",
textAlign: "right"
},
width: 60
},
table: {
tableLayout: "fixed"
}

View file

@ -13,7 +13,7 @@ const useStyles = makeStyles(
padding: "12px 12px 10px",
textAlign: "right"
},
width: 60
width: 100
}
}),
{ name: "TableLineForm" }