Skip to content

Commit

Permalink
[Look&Feel] Use small context menu across the board (#7486)
Browse files Browse the repository at this point in the history
Signed-off-by: Zhongnan Su <[email protected]>
  • Loading branch information
zhongnansu authored Jul 31, 2024
1 parent 2b1d01f commit 61d5c49
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class SampleDataViewDataButton extends React.Component {
anchorPosition="downCenter"
data-test-subj={`launchSampleDataSet${this.props.id}`}
>
<EuiContextMenu initialPanelId={0} panels={panels} />
<EuiContextMenu initialPanelId={0} panels={panels} size="s" />
</EuiPopover>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function VegaActionsMenu({ formatHJson, formatJson }: VegaActionsMenuProps) {
panelPaddingSize="none"
anchorPosition="downLeft"
>
<EuiContextMenuPanel items={items} />
<EuiContextMenuPanel items={items} size="s" />
</EuiPopover>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function VegaHelpMenu() {
panelPaddingSize="none"
anchorPosition="downLeft"
>
<EuiContextMenuPanel items={items} />
<EuiContextMenuPanel items={items} size="s" />
</EuiPopover>
);
}
Expand Down

0 comments on commit 61d5c49

Please sign in to comment.