Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent checkbox focus ring from getting clipped in tables #2770

Merged
merged 5 commits into from
Jan 17, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src-docs/src/views/tables/custom/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export default class extends Component {
id: 'checkbox',
isCheckbox: true,
textOnly: false,
width: '24px',
width: '32px',
},
{
id: 'type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ exports[`EuiBasicTable footers render with pagination, selection, sorting, and f
<EuiTableHeader>
<EuiTableHeaderCellCheckbox
key="_selection_column_h"
width="24px"
width="32px"
>
<EuiI18n
default="Select all rows"
Expand Down Expand Up @@ -1734,7 +1734,7 @@ exports[`EuiBasicTable with pagination and selection 1`] = `
<EuiTableHeader>
<EuiTableHeaderCellCheckbox
key="_selection_column_h"
width="24px"
width="32px"
>
<EuiI18n
default="Select all rows"
Expand Down Expand Up @@ -2050,7 +2050,7 @@ exports[`EuiBasicTable with pagination, selection and sorting 1`] = `
<EuiTableHeader>
<EuiTableHeaderCellCheckbox
key="_selection_column_h"
width="24px"
width="32px"
>
<EuiI18n
default="Select all rows"
Expand Down Expand Up @@ -2243,7 +2243,7 @@ exports[`EuiBasicTable with pagination, selection, sorting and a single record a
<EuiTableHeader>
<EuiTableHeaderCellCheckbox
key="_selection_column_h"
width="24px"
width="32px"
>
<EuiI18n
default="Select all rows"
Expand Down Expand Up @@ -2529,7 +2529,7 @@ exports[`EuiBasicTable with pagination, selection, sorting and column dataType 1
<EuiTableHeader>
<EuiTableHeaderCellCheckbox
key="_selection_column_h"
width="24px"
width="32px"
>
<EuiI18n
default="Select all rows"
Expand Down Expand Up @@ -2722,7 +2722,7 @@ exports[`EuiBasicTable with pagination, selection, sorting and column renderer 1
<EuiTableHeader>
<EuiTableHeaderCellCheckbox
key="_selection_column_h"
width="24px"
width="32px"
>
<EuiI18n
default="Select all rows"
Expand Down Expand Up @@ -2915,7 +2915,7 @@ exports[`EuiBasicTable with pagination, selection, sorting and multiple record a
<EuiTableHeader>
<EuiTableHeaderCellCheckbox
key="_selection_column_h"
width="24px"
width="32px"
>
<EuiI18n
default="Select all rows"
Expand Down Expand Up @@ -3219,7 +3219,7 @@ exports[`EuiBasicTable with pagination, selection, sorting, column renderer and
<EuiTableHeader>
<EuiTableHeaderCellCheckbox
key="_selection_column_h"
width="24px"
width="32px"
>
<EuiI18n
default="Select all rows"
Expand Down
2 changes: 1 addition & 1 deletion src/components/basic_table/basic_table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ export class EuiBasicTable<T = any> extends Component<

if (selection) {
headers.push(
<EuiTableHeaderCellCheckbox key="_selection_column_h" width="24px">
<EuiTableHeaderCellCheckbox key="_selection_column_h" width="32px">
snide marked this conversation as resolved.
Show resolved Hide resolved
{this.renderSelectAll(false)}
</EuiTableHeaderCellCheckbox>
);
Expand Down