Open machadoum opened 8 months ago
This is a strange CSS bug caused by the browser scrollbar that can't be easily fixed without downsides. I spiked it out in #7567 but ended mildly disliking the visual tradeoff it caused in popovers that did not have scrollbars.
IMO, we should opt for redesigning this popover wholly (see Caroline's UI suggestion in https://github.com/elastic/eui/issues/5894#issuecomment-1124031122) and resolving it that way.
If we don't end up implementing the new design, we could resurrect my PR in a pinch if absolutely needed, but since this is low priority/severity, I'm not sure we need to.
Describe the bug When
displayAsText
is long and the panel has a scroll bar (only on Safari), the field name is horizontally centralised.Impact and severity Very Low
Environment and versions
To Reproduce Steps to reproduce the behavior:
Expected behavior The field name should be displayed in a single line, like on Chrome.
Minimum reproducible sandbox https://codesandbox.io/p/sandbox/restless-browser-zndqlz
Screenshots
Safari
Chrome
Additional context This bug was found during Kibana QA testing: https://github.com/elastic/kibana/issues/177873