Skip to content
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

[Vis Augmenter] Update base vis height in view events flyout #4535

Merged
merged 2 commits into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$vis-description-width: 200px;
$event-vis-height: 55px;
$timeline-panel-height: 100px;
$timeline-panel-height: 90px;
$content-padding-top: 110px; // Padding needed within view events flyout content to sit comfortably below flyout header
$date-range-height: 45px; // Static height we want for the date range picker component
$error-icon-padding-right: -8px; // This is so the error icon is aligned consistent with the event count icons
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,14 @@ export function ViewEventsFlyout(props: Props) {
>
<DateRangeItem timeRange={timeRange as TimeRange} reload={reload} />
</EuiFlexItem>
<EuiFlexItem className="view-events-flyout__contentPanel" grow={5}>
<EuiFlexItem
className="view-events-flyout__contentPanel"
grow={7}
style={{ maxHeight: '40vh' }}
>
<BaseVisItem embeddable={visEmbeddable as VisualizeEmbeddable} />
</EuiFlexItem>
<EuiFlexItem className="view-events-flyout__contentPanel show-y-scroll" grow={5}>
<EuiFlexItem className="view-events-flyout__contentPanel show-y-scroll" grow={3}>
<EventsPanel
eventVisEmbeddablesMap={eventVisEmbeddablesMap as EventVisEmbeddablesMap}
/>
Expand Down