Skip to content

[9.4] [UII] Fix integration card row height calculation (#264212)#264270

Merged
kibanamachine merged 1 commit intoelastic:9.4from
kibanamachine:backport/9.4/pr-264212
Apr 18, 2026
Merged

[9.4] [UII] Fix integration card row height calculation (#264212)#264270
kibanamachine merged 1 commit intoelastic:9.4from
kibanamachine:backport/9.4/pr-264212

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.4:

Questions ?

Please refer to the Backport tool documentation

## Summary

Resolves elastic#259200.

This PR re-computes card row height when list of card changes. I changed
dependency array back to `list` because `list.length` does not capture
all list changes, for example the row heights were not being recomputed
when sorting is changed from `A-Z` to `Z-A` (the same condensing issue
appears prior to these changes).

PR also removes some unnecessary padding around the sidebar and card
list, so that margins are even around the page and between elements.

### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

(cherry picked from commit 6bf3385)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Apr 18, 2026
@kibanamachine kibanamachine enabled auto-merge (squash) April 18, 2026 19:13
@botelastic botelastic Bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Apr 18, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp Bot commented Apr 18, 2026

Approvability

Verdict: Would Approve

This is a backport bug fix for UI row height calculation in integration cards. Changes are small, self-contained, UI-only (removing spacers, simplifying CSS, adding row height recomputation), and the author owns all modified files.

Macroscope would have approved this PR. Enable approvability here.

@kibanamachine kibanamachine merged commit 56c32cb into elastic:9.4 Apr 18, 2026
24 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 2.3MB 2.3MB -42.0B

cc @jen-huang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:Fleet Team label for Observability Data Collection Fleet team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants