Commit 938c5ab
authored
[Metrics UI] Metric explorer search bar issue on some screen sizes (elastic#246945)
Closes elastic#152319
## Summary
Fixes the toolbar in the Metrics Explorer page for smaller screen widths
that are still considered desktop
### Changes
- Added a wrap styling to the toolbar
- Added a maximum width to the search bar
### Steps to Reproduce
1. In the left side navigation of Kibana click "Infrastructure"
2. In the left side navigation of the Infrastructure page click "Metrics
explorer"
3. Resize the browser width
### Expected Results
The toolbar no longer breaks and clips outside the view on smaller
screen sizes
Before:
<img width="887" height="995" alt="Screenshot 2025-12-19 101212"
src="https://github.com/user-attachments/assets/6bca3ed8-ce6c-4876-bfd7-fd1fe7f7c6fb"
/>
After:
<img width="878" height="999" alt="Screenshot 2025-12-19 101204"
src="https://github.com/user-attachments/assets/39baf9d0-0a50-4806-94ab-9b0c56941d0f"
/>1 parent 47874c5 commit 938c5ab
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- x-pack/solutions/observability/plugins/infra/public/pages/metrics/metrics_explorer/components
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments