Skip to content

Commit

Permalink
truncate to 2 + width 500
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Nov 28, 2023
1 parent 4703681 commit 4a140b7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ $transitionTime: 200ms;
}

.echTooltip__tableCell--truncate {
@include euiTextTruncate;
display: -webkit-box;
-webkit-box-orient: vertical;
line-clamp: 2;
-webkit-line-clamp: 2;
overflow: hidden;
}

&__metricRow {
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/src/utils/themes/dark_theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ export const DARK_THEME: Theme = {
},
bulletGraph: DARK_THEME_BULLET_STYLE,
tooltip: {
maxWidth: 260,
maxWidth: 500,
maxTableHeight: 120,
defaultDotColor: Colors.White.keyword,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/src/utils/themes/legacy_dark_theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export const LEGACY_DARK_THEME: Theme = {
},
bulletGraph: DARK_THEME_BULLET_STYLE,
tooltip: {
maxWidth: 260,
maxWidth: 500,
maxTableHeight: 120,
defaultDotColor: Colors.White.keyword,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/src/utils/themes/legacy_light_theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ export const LEGACY_LIGHT_THEME: Theme = {
},
bulletGraph: LIGHT_THEME_BULLET_STYLE,
tooltip: {
maxWidth: 260,
maxWidth: 500,
maxTableHeight: 120,
defaultDotColor: Colors.Black.keyword,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/src/utils/themes/light_theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export const LIGHT_THEME: Theme = {
},
bulletGraph: LIGHT_THEME_BULLET_STYLE,
tooltip: {
maxWidth: 260,
maxWidth: 500,
maxTableHeight: 120,
defaultDotColor: Colors.Black.keyword,
},
Expand Down

0 comments on commit 4a140b7

Please sign in to comment.