Skip to content

Commit

Permalink
update css for analytics table
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Aug 13, 2019
1 parent c2df266 commit edd9ca9
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@

.mlAnalyticsTable {
// Using an override as a last resort because we cannot set custom classes on
// nested upstream components. The opening animation limits the height
// of the expanded row to 1000px which turned out to be not predictable.
// The animation could also result in flickering with expanded rows
// where the inner content would result in the DOM changing the height.
.euiTableRow-isExpandedRow .euiTableCellContent {
animation: none !important;
.euiTableCellContent__text {
width: 100%;
}
}
// Another override: Because an update to the table replaces the DOM, the same
// icon would still again fade in with an animation. If the table refreshes with
// e.g. 1s this would result in a blinking icon effect.
.euiIcon-isLoaded {
animation: none !important;
}
}

.mlAnalyticsProgressBar {
margin-bottom: $euiSizeM;
}
Expand Down

0 comments on commit edd9ca9

Please sign in to comment.