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
|
marginLeft: AVATAR_MARGIN
|
||||||
},
|
},
|
||||||
colPrice: {
|
colPrice: {
|
||||||
textAlign: "right",
|
textAlign: "right"
|
||||||
width: 150
|
|
||||||
},
|
},
|
||||||
colQuantity: {
|
colQuantity: {
|
||||||
textAlign: "right",
|
textAlign: "right"
|
||||||
width: 80
|
|
||||||
},
|
},
|
||||||
colTotal: {
|
colTotal: {
|
||||||
textAlign: "right",
|
textAlign: "right"
|
||||||
width: 150
|
|
||||||
},
|
},
|
||||||
errorInfo: {
|
errorInfo: {
|
||||||
color: theme.palette.error.main
|
color: theme.palette.error.main
|
||||||
|
|
|
@ -29,16 +29,13 @@ const useStyles = makeStyles(
|
||||||
marginLeft: AVATAR_MARGIN
|
marginLeft: AVATAR_MARGIN
|
||||||
},
|
},
|
||||||
colPrice: {
|
colPrice: {
|
||||||
textAlign: "right",
|
textAlign: "right"
|
||||||
width: 150
|
|
||||||
},
|
},
|
||||||
colQuantity: {
|
colQuantity: {
|
||||||
textAlign: "right",
|
textAlign: "right"
|
||||||
width: 80
|
|
||||||
},
|
},
|
||||||
colTotal: {
|
colTotal: {
|
||||||
textAlign: "right",
|
textAlign: "right"
|
||||||
width: 150
|
|
||||||
},
|
},
|
||||||
strike: {
|
strike: {
|
||||||
textDecoration: "line-through",
|
textDecoration: "line-through",
|
||||||
|
@ -47,13 +44,6 @@ const useStyles = makeStyles(
|
||||||
errorInfo: {
|
errorInfo: {
|
||||||
color: theme.palette.error.main
|
color: theme.palette.error.main
|
||||||
},
|
},
|
||||||
quantityField: {
|
|
||||||
"& input": {
|
|
||||||
padding: "12px 12px 10px",
|
|
||||||
textAlign: "right"
|
|
||||||
},
|
|
||||||
width: 60
|
|
||||||
},
|
|
||||||
table: {
|
table: {
|
||||||
tableLayout: "fixed"
|
tableLayout: "fixed"
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ const useStyles = makeStyles(
|
||||||
padding: "12px 12px 10px",
|
padding: "12px 12px 10px",
|
||||||
textAlign: "right"
|
textAlign: "right"
|
||||||
},
|
},
|
||||||
width: 60
|
width: 100
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
{ name: "TableLineForm" }
|
{ name: "TableLineForm" }
|
||||||
|
|
Loading…
Reference in a new issue