-
Notifications
You must be signed in to change notification settings - Fork 1.1k

Description
Describe the bug
For metric visualizations, the displayed text is not displayed/truncated at the bottom.
It only affects letters that protrude downwards like @, p, q, j, ...
To Reproduce
Steps to reproduce the behavior:
- Go to 'Add new visualization'
- Click on 'metric'
- Create a new metric visualization and press save
- Gather data (incls. values with letters that protrude downwards like @, p , q, j...)
- See text value in metric visualization
- See error
Expected behavior
Letters of values in metric visualizations should not be truncated and be fully displayed.
OpenSearch Version
Official Docker-image: opensearchproject/opensearch:1.3.2
Dashboards Version
Official Docker-image: opensearchproject/opensearch-dashboards:1.3.2
Plugins
Please list all plugins currently enabled.
Host/Environment (please complete the following information):
- OS: Linux/Debian
- Browser and version: Chrome/102.0.5005.61 (Official Build) (x86_64
Additional context
Add any other context about the problem here
From my point of view the problem exists due to a missing CSS line height setting in CSS class '.mtrVis__value'
It could be fixed by adapting the following CSS settings:
From current CSS values:
.mtrVis__value {
max-width: 100%;
overflow: hidden !important;
text-overflow: ellipsis !important;
white-space: nowrap !important;
word-wrap: normal !important;
font-weight: 700;
}
To new fixed CSS values:
.mtrVis__value {
max-width: 100%;
overflow: hidden !important;
text-overflow: ellipsis !important;
white-space: nowrap !important;
word-wrap: normal !important;
font-weight: 700;
line-height: normal; # This is the fixing line
}
I hope I was able to support you at least a little and would like to thank you again for your commitment and the great product!
All the best
Patrick