Skip to content

Commit

Permalink
[Vis Augmenter] Update base vis height in view events flyout (#4535) (#…
Browse files Browse the repository at this point in the history
…4538)

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

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update CHANGELOG

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
(cherry picked from commit 6ae64b3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 3b9d45f commit 815ffa1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
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

0 comments on commit 815ffa1

Please sign in to comment.