Skip to content

Commit

Permalink
[RAC][Observability] fix flyout in fullscreen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mgiota committed Aug 16, 2021
1 parent 9fa62bf commit 826e51d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/observability/public/pages/alerts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { AlertsTableTGrid } from './alerts_table_t_grid';
import { StatusFilter } from './status_filter';
import { useFetcher } from '../../hooks/use_fetcher';
import { callObservabilityApi } from '../../services/call_observability_api';
import './styles.scss';

export interface TopAlert {
fields: ParsedTechnicalFields;
Expand Down
12 changes: 12 additions & 0 deletions x-pack/plugins/observability/public/pages/alerts/styles.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
$full_screen_flyout_top: 72px;
.kbnBody.euiBody--headerIsFixed.euiDataGrid__restrictBody {
.euiOverlayMask--belowHeader {
top: $full_screen_flyout_top;
}

.euiFlyout,
.euiCollapsibleNav {
top: $full_screen_flyout_top;
height: calc(100% - #{$full_screen_flyout_top});
}
}

0 comments on commit 826e51d

Please sign in to comment.