Skip to content

Commit cb7fa43

Browse files
[Look&Feel] Use small context menu across the board (#7486) (#7595)
(cherry picked from commit 61d5c49) Signed-off-by: Zhongnan Su <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent c11364e commit cb7fa43

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/plugins/home/public/application/components/__snapshots__/sample_data_view_data_button.test.js.snap

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugins/home/public/application/components/sample_data_view_data_button.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export class SampleDataViewDataButton extends React.Component {
127127
anchorPosition="downCenter"
128128
data-test-subj={`launchSampleDataSet${this.props.id}`}
129129
>
130-
<EuiContextMenu initialPanelId={0} panels={panels} />
130+
<EuiContextMenu initialPanelId={0} panels={panels} size="s" />
131131
</EuiPopover>
132132
);
133133
}

src/plugins/vis_type_vega/public/components/vega_actions_menu.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function VegaActionsMenu({ formatHJson, formatJson }: VegaActionsMenuProps) {
9393
panelPaddingSize="none"
9494
anchorPosition="downLeft"
9595
>
96-
<EuiContextMenuPanel items={items} />
96+
<EuiContextMenuPanel items={items} size="s" />
9797
</EuiPopover>
9898
);
9999
}

src/plugins/vis_type_vega/public/components/vega_help_menu.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function VegaHelpMenu() {
9797
panelPaddingSize="none"
9898
anchorPosition="downLeft"
9999
>
100-
<EuiContextMenuPanel items={items} />
100+
<EuiContextMenuPanel items={items} size="s" />
101101
</EuiPopover>
102102
);
103103
}

0 commit comments

Comments
 (0)