-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Fixes data grid column actions button when histogram charts are …
…visible (#120202) * [ML] Fixes data grid column actions button when histogram charts are visible * [ML] Adjust histogram color tolerance values * [ML] Remove test tag * [ML] Stabilize canvas element test by rounding color values * [ML] Adjust color tolerance values * [ML] Further color tolerance adjustments * [ML] Adjust more color tolerance expected values * [ML] More color stat adjustments Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information
1 parent
90b4897
commit 957c006
Showing
8 changed files
with
37 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 11 additions & 4 deletions
15
x-pack/plugins/ml/public/application/components/data_grid/data_grid.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
.mlDataGrid { | ||
|
||
.euiDataGridRowCell--boolean { | ||
text-transform: none; | ||
} | ||
|
||
// Override to align the sorting arrow at the bottom when histogram charts are enabled | ||
.euiDataGridHeaderCell .euiDataGridHeaderCell__sortingArrow { | ||
margin-top: auto; | ||
margin-bottom: 0; | ||
// Overrides to align the sorting arrow, actions icon and the column header when no chart is available, | ||
// to the bottom of the cell when histogram charts are enabled. | ||
// Note that overrides have to be used as currently it is not possible to add a custom class name | ||
// for the EuiDataGridHeaderCell - see https://github.com/elastic/eui/issues/5106 | ||
.euiDataGridHeaderCell { | ||
.euiDataGridHeaderCell__sortingArrow, | ||
.euiDataGridHeaderCell__icon, | ||
.euiPopover { | ||
margin-top: auto; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters