Fix column width

This commit is contained in:
dominik-zeglen 2020-10-12 14:47:44 +02:00
parent bf295e4dce
commit 7052027b1d
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

@ -21644,7 +21644,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>
@ -22534,7 +22534,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>
@ -23578,7 +23578,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>
@ -24631,7 +24631,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>
@ -25409,7 +25409,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>
@ -26448,7 +26448,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>