-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RAC][Observability] fix flyout in fullscreen mode #108746
Conversation
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
@elasticmachine merge upstream |
@mgiota thanks! When a user has many alerts (full page), the pagination will be at the very bottom, right? |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: cc @mgiota |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes the bug and works as expected 👍
I've left a couple of comments, but I don't think there's anything that can / should be actioned right now. I think we can consider this is a suitable fix for 7.15. As a followup it would be good if the EUI Datagrid could handle this flyout scenario on it's side.
@@ -0,0 +1,12 @@ | |||
$fullscreenFlyoutTop: 72px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This "magic number" makes me a little nervous. There are sass variables for things like the kbnHeaderOffset
: https://github.com/elastic/kibana/blob/master/src/core/public/_variables.scss#L6, but there doesn't seem to be anything suitable for here and this use case.
@@ -0,0 +1,12 @@ | |||
$fullscreenFlyoutTop: 72px; | |||
.kbnBody.euiBody--headerIsFixed.euiDataGrid__restrictBody { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, makes me a little nervous how deeply we're nesting into EUI classes, but I can't think of a better solution right now 🤔
* [RAC][Observability] fix flyout in fullscreen mode * eslint fixes Co-authored-by: Kibana Machine <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* [RAC][Observability] fix flyout in fullscreen mode * eslint fixes Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: mgiota <[email protected]>
Fixes #108174
full_screen_fix.mov
cc @katrin-freihofner It was easier to fix than search how to hide the Full screen button that comes with EuiDataGrid