Merge pull request #758 from mirumee/fix/attribute-table-bins-1324

Fix column width
This commit is contained in:
Marcin Gębala 2020-10-13 17:13:01 +02:00 committed by GitHub
commit efc4eca689
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View file

@ -31,13 +31,13 @@ export interface AttributeValuesProps {
const useStyles = makeStyles(
theme => ({
columnAdmin: {
width: "50%"
width: 300
},
columnDrag: {
width: 48 + theme.spacing(1.5)
},
columnStore: {
width: "50%"
width: "auto"
},
dragIcon: {
cursor: "grab"
@ -46,7 +46,7 @@ const useStyles = makeStyles(
"&:last-child": {
paddingRight: theme.spacing()
},
width: 48 + theme.spacing(1.5)
width: 80
},
link: {
cursor: "pointer"
@ -98,7 +98,7 @@ const AttributeValues: React.FC<AttributeValuesProps> = ({
description="attribute values list: name column header"
/>
</TableCell>
<TableCell />
<TableCell className={classes.iconCell} />
</TableRow>
</TableHead>
<SortableTableBody onSortEnd={onValueReorder}>

View file

@ -21705,7 +21705,7 @@ exports[`Storyshots Views / Attributes / Attribute details create 1`] = `
Default Store View
</th>
<th
class="MuiTableCell-root-id MuiTableCell-head-id"
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
scope="col"
/>
</tr>
@ -22595,7 +22595,7 @@ exports[`Storyshots Views / Attributes / Attribute details default 1`] = `
Default Store View
</th>
<th
class="MuiTableCell-root-id MuiTableCell-head-id"
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
scope="col"
/>
</tr>
@ -23639,7 +23639,7 @@ exports[`Storyshots Views / Attributes / Attribute details form errors 1`] = `
Default Store View
</th>
<th
class="MuiTableCell-root-id MuiTableCell-head-id"
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
scope="col"
/>
</tr>
@ -24692,7 +24692,7 @@ exports[`Storyshots Views / Attributes / Attribute details loading 1`] = `
Default Store View
</th>
<th
class="MuiTableCell-root-id MuiTableCell-head-id"
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
scope="col"
/>
</tr>
@ -25470,7 +25470,7 @@ exports[`Storyshots Views / Attributes / Attribute details multiple select input
Default Store View
</th>
<th
class="MuiTableCell-root-id MuiTableCell-head-id"
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
scope="col"
/>
</tr>
@ -26509,7 +26509,7 @@ exports[`Storyshots Views / Attributes / Attribute details no values 1`] = `
Default Store View
</th>
<th
class="MuiTableCell-root-id MuiTableCell-head-id"
class="MuiTableCell-root-id MuiTableCell-head-id AttributeValues-iconCell-id"
scope="col"
/>
</tr>