Skip to content

Commit

Permalink
fix checkbox width for custom table
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Jun 4, 2020
1 parent 7c0a368 commit e984987
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export function CustomSelectionTable({
isSelected={isItemSelected(item[tableItemId])}
isSelectable={true}
hasActions={true}
data-test-subj="mlFlyoutJobSelectorTableRow"
data-test-subj="mlCustomSelectionTableRow"
>
{cells}
</EuiTableRow>
Expand Down Expand Up @@ -339,7 +339,7 @@ export function CustomSelectionTable({
<Fragment>
<EuiSpacer size="s" />
<EuiFlexGroup direction="column">
<EuiFlexItem grow={false} data-test-subj="mlFlyoutJobSelectorSearchBar">
<EuiFlexItem grow={false} data-test-subj="mlCustomSelectionTableSearchBar">
<EuiSearchBar
defaultQuery={query}
box={{
Expand Down Expand Up @@ -367,7 +367,7 @@ export function CustomSelectionTable({
<EuiFlexItem grow={false}>{renderSelectAll(true)}</EuiFlexItem>
</EuiFlexGroup>
</EuiTableHeaderMobile>
<EuiTable data-test-subj="mlFlyoutJobSelectorTable">
<EuiTable data-test-subj="mlCustomSelectionTable">
<EuiTableHeader>{renderHeaderCells()}</EuiTableHeader>
<EuiTableBody>{renderRows()}</EuiTableBody>
</EuiTable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function JobSelectorTable({
id: 'checkbox',
isCheckbox: true,
textOnly: false,
width: '24px',
width: '32px',
},
{
label: 'job ID',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const columns = [
id: 'checkbox',
isCheckbox: true,
textOnly: false,
width: '24px',
width: '32px',
},
{
label: i18n.translate('xpack.ml.dataframe.analytics.create.analyticsTable.fieldNameColumn', {
Expand Down

0 comments on commit e984987

Please sign in to comment.