elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.51k stars 8.06k forks source link

[Lens] Medium and long text in metric is cut #169505

Closed mbondyra closed 1 week ago

mbondyra commented 9 months ago
Screenshot 2023-10-23 at 09 47 48 Screenshot 2023-10-23 at 09 47 08

While the secondary metric can go multiline, the primary metric has a no-wrap policy for the CSS white-space property.

I've tried to quickly check what would happen without that nowrap thing but it introduces other issues:

Screenshot 2023-10-23 at 09 48 20 Screenshot 2023-10-23 at 09 48 05

Originally posted by @dej611 in https://github.com/elastic/kibana/issues/169258#issuecomment-1774667358

elasticmachine commented 9 months ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)

stratoula commented 9 months ago

Thanx Marta for creating this. I think is better to create an ER on EC as the solution should happen there. When this is possible I hope that the metrics can display multiline content without any kibana changes. We could also keep this too if you want but we should def create one to EC repo too. Can you take care of it?

markov00 commented 1 month ago

@nickofthyme can you please close this when #185915 is done? thanks