[Lens] Fix value popover spacing#103081
Conversation
|
Pinging @elastic/kibana-app (Team:KibanaApp) |
|
@elasticmachine merge upstream |
wylieconlon
left a comment
There was a problem hiding this comment.
This solution appears to work, but does not seem like it will scale for all the other inputs we could add in the future. What if we used a CSS sibling selector to do the spacing instead, like the & + & or & > * + * { pattern that is used in a few places?
MichaelMarcialis
left a comment
There was a problem hiding this comment.
Left one comment/question regarding the margin styling.
| .lnsXyToolbar__visualOption + .lnsXyToolbar__visualOption { | ||
| margin-top: $euiSizeL; | ||
| } |
There was a problem hiding this comment.
There was a problem hiding this comment.
For some reason some Spacers have been iteratively added to the popup, in addition to the regular EuiFormRow spacing, until it reached the initial broken state.
This PR was meant to restore a state where Spacers were uniformly distributed.
Looking at other popups in the same UI it appears that they have only the EuiFormRow margin, which you pointed at. It makes more sense to keep only the original EUI spacing, so I'll remove the additional one from the PR.
wylieconlon
left a comment
There was a problem hiding this comment.
Haven't retested but thanks for doing the CSS solution, hopefully this will be easier to maintain now.
|
@elasticmachine merge upstream |
MichaelMarcialis
left a comment
There was a problem hiding this comment.
Thanks for making those changes, @dej611! LGTM.
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…-png-pdf-report-type * 'master' of github.com:elastic/kibana: (178 commits) [test] Migrating to kbn_archiver from es_archiver - for the Maps app (elastic#103028) [Reporting] Reintroduce "ILM policy for managing reporting indices" (elastic#103850) [Security Solution][Endpoint] Allow activity log scrolling on small screens (elastic#103852) Allow zero (0) to unset unenroll_timeout field (elastic#103790) [TSVB] Metric count is depicted as `-` instead of 0 (elastic#103717) [Query] Es query/field base (elastic#103177) Remove add data button from nav (elastic#103810) Fix telemetry advanced setting style (elastic#103838) [Transform] Fix default naming and sorting fields suggestion for `top_metrics` agg (elastic#103690) [APM] use conventional error rate color for correlations (elastic#103500) Endpoint Telemetry: Agents Metrics + Policy Config / Response (elastic#102171) [Alerting] Fixed search results are not updated when search term is removed on Rules and Connectors page (elastic#103663) fix too many rernders (elastic#103672) [APM] Add “Analyze Data” button (elastic#103485) [Lens] Fix value popover spacing (elastic#103081) [TSVB] Fix TSVB is not reporting all categories of Elasticsearch error (elastic#102926) [SECURITY] Adds security links to doc link service (elastic#102676) Update dependency @elastic/charts to v31 (elastic#102078) [Security Solution][CTI] Investigation time enrichment UI (elastic#103383) Adds ECS guide to doc links service (elastic#102246) ... # Conflicts: # x-pack/plugins/reporting/public/share_context_menu/register_pdf_png_reporting.tsx




Summary
Before:
After:
Previous version
Checklist
Delete any items that are not applicable to this PR.
For maintainers