Skip to content

Commit

Permalink
feat: remove useless padding
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Aug 22, 2024
1 parent f1f06ee commit e1b726b
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,14 @@ export const WorkspaceMenu = ({ coreStart, registeredUseCases$ }: Props) => {
};

const currentWorkspaceButton = currentWorkspace ? (
<EuiButtonEmpty onClick={openPopover} data-test-subj="current-workspace-button">
<EuiButtonEmpty
onClick={openPopover}
data-test-subj="current-workspace-button"
// deduplicate padding in left bottom
contentProps={{
style: { padding: 0 },
}}
>
<EuiAvatar
size="s"
type="space"
Expand Down

0 comments on commit e1b726b

Please sign in to comment.