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:
parent
62817568a7
commit
8d58a4efeb
3 changed files with 7 additions and 20 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ const useStyles = makeStyles(
|
|||
padding: "12px 12px 10px",
|
||||
textAlign: "right"
|
||||
},
|
||||
width: 60
|
||||
width: 100
|
||||
}
|
||||
}),
|
||||
{ name: "TableLineForm" }
|
||||
|
|
Loading…
Reference in a new issue