From c5f91ec4d4e7c298ed8ab791b208f6e8deb7465a Mon Sep 17 00:00:00 2001 From: Andrea Del Rio Date: Fri, 17 Jan 2020 10:08:19 -0800 Subject: [PATCH] Fixed EuiCheckbox's focus ring getting clipped in EuiBasicTable (#2770) --- CHANGELOG.md | 4 ++++ src-docs/src/views/tables/custom/custom.js | 2 +- .../basic_table/__snapshots__/basic_table.test.tsx.snap | 8 -------- src/components/basic_table/basic_table.tsx | 2 +- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 15e977f4419..6c9f08a35d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ - Converted `EuiFormRow` to Typescript ([#2712](https://github.com/elastic/eui/pull/2712)) - Updated `logoAPM`, `logoSecurity` and `logoEnterpriseSearch`. Added `logoWorkplaceSearch` and `logoObservability` ([#2769](https://github.com/elastic/eui/pull/2769)) +**Bug fixes** + +- Increased column width on `EuiTableHeaderCellCheckbox` to prevent `EuiCheckbox`'s focus ring from getting clipped in `EuiBasicTable` ([#2770](https://github.com/elastic/eui/pull/2770)) + **Deprecations** - `EuiIcon`'s `logoEnterpriseSearch` type deprecated in favor of `logoWorkplaceSearch` diff --git a/src-docs/src/views/tables/custom/custom.js b/src-docs/src/views/tables/custom/custom.js index 5ea5ca5fc86..43036e20fa0 100644 --- a/src-docs/src/views/tables/custom/custom.js +++ b/src-docs/src/views/tables/custom/custom.js @@ -244,7 +244,7 @@ export default class extends Component { id: 'checkbox', isCheckbox: true, textOnly: false, - width: '24px', + width: '32px', }, { id: 'type', diff --git a/src/components/basic_table/__snapshots__/basic_table.test.tsx.snap b/src/components/basic_table/__snapshots__/basic_table.test.tsx.snap index 3f16814e351..7f072a77ba5 100644 --- a/src/components/basic_table/__snapshots__/basic_table.test.tsx.snap +++ b/src/components/basic_table/__snapshots__/basic_table.test.tsx.snap @@ -741,7 +741,6 @@ exports[`EuiBasicTable footers render with pagination, selection, sorting, and f extends Component< if (selection) { headers.push( - + {this.renderSelectAll(false)} );