Merge pull request #758 from mirumee/fix/attribute-table-bins-1324
Fix column width
This commit is contained in:
commit
efc4eca689
2 changed files with 10 additions and 10 deletions
|
@ -31,13 +31,13 @@ export interface AttributeValuesProps {
|
||||||
const useStyles = makeStyles(
|
const useStyles = makeStyles(
|
||||||
theme => ({
|
theme => ({
|
||||||
columnAdmin: {
|
columnAdmin: {
|
||||||
width: "50%"
|
width: 300
|
||||||
},
|
},
|
||||||
columnDrag: {
|
columnDrag: {
|
||||||
width: 48 + theme.spacing(1.5)
|
width: 48 + theme.spacing(1.5)
|
||||||
},
|
},
|
||||||
columnStore: {
|
columnStore: {
|
||||||
width: "50%"
|
width: "auto"
|
||||||
},
|
},
|
||||||
dragIcon: {
|
dragIcon: {
|
||||||
cursor: "grab"
|
cursor: "grab"
|
||||||
|
@ -46,7 +46,7 @@ const useStyles = makeStyles(
|
||||||
"&:last-child": {
|
"&:last-child": {
|
||||||
paddingRight: theme.spacing()
|
paddingRight: theme.spacing()
|
||||||
},
|
},
|
||||||
width: 48 + theme.spacing(1.5)
|
width: 80
|
||||||
},
|
},
|
||||||
link: {
|
link: {
|
||||||
cursor: "pointer"
|
cursor: "pointer"
|
||||||
|
@ -98,7 +98,7 @@ const AttributeValues: React.FC<AttributeValuesProps> = ({
|
||||||
description="attribute values list: name column header"
|
description="attribute values list: name column header"
|
||||||
/>
|
/>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell />
|
<TableCell className={classes.iconCell} />
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableHead>
|
</TableHead>
|
||||||
<SortableTableBody onSortEnd={onValueReorder}>
|
<SortableTableBody onSortEnd={onValueReorder}>
|
||||||
|
|
|
@ -21705,7 +21705,7 @@ exports[`Storyshots Views / Attributes / Attribute details create 1`] = `
|
||||||
Default Store View
|
Default Store View
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id"
|
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
|
||||||
scope="col"
|
scope="col"
|
||||||
/>
|
/>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -22595,7 +22595,7 @@ exports[`Storyshots Views / Attributes / Attribute details default 1`] = `
|
||||||
Default Store View
|
Default Store View
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id"
|
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
|
||||||
scope="col"
|
scope="col"
|
||||||
/>
|
/>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -23639,7 +23639,7 @@ exports[`Storyshots Views / Attributes / Attribute details form errors 1`] = `
|
||||||
Default Store View
|
Default Store View
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id"
|
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
|
||||||
scope="col"
|
scope="col"
|
||||||
/>
|
/>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -24692,7 +24692,7 @@ exports[`Storyshots Views / Attributes / Attribute details loading 1`] = `
|
||||||
Default Store View
|
Default Store View
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id"
|
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
|
||||||
scope="col"
|
scope="col"
|
||||||
/>
|
/>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -25470,7 +25470,7 @@ exports[`Storyshots Views / Attributes / Attribute details multiple select input
|
||||||
Default Store View
|
Default Store View
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id"
|
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
|
||||||
scope="col"
|
scope="col"
|
||||||
/>
|
/>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -26509,7 +26509,7 @@ exports[`Storyshots Views / Attributes / Attribute details no values 1`] = `
|
||||||
Default Store View
|
Default Store View
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id"
|
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
|
||||||
scope="col"
|
scope="col"
|
||||||
/>
|
/>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue