Skip to content

Commit

Permalink
Merge pull request #14 from ryankeairns/cloud-profile-link
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 authored Nov 5, 2020
2 parents 5ea1bd1 + bcdff4a commit 3c85255
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
.securityNavControlComponent__userMenu {
.chrNavControl__userMenu {
.euiContextMenuPanelTitle {
// Uppercased by default, override to match actual username
text-transform: none;
}

.euiContextMenuItem {
// Temp fix for EUI issue https://github.com/elastic/eui/issues/3092
line-height: normal;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export class SecurityNavControl extends Component<Props, State> {
defaultMessage="Log out"
/>
),
className: 'securityNavControlComponent__logoutLink',
icon: <EuiIcon type="exit" size="m" />,
href: logoutUrl,
'data-test-subj': 'logoutLink',
Expand Down Expand Up @@ -185,11 +184,7 @@ export class SecurityNavControl extends Component<Props, State> {
panelPaddingSize="none"
>
<div data-test-subj="userMenu">
<EuiContextMenu
className="securityNavControlComponent__userMenu"
initialPanelId={0}
panels={panels}
/>
<EuiContextMenu className="chrNavControl__userMenu" initialPanelId={0} panels={panels} />
</div>
</EuiPopover>
);
Expand Down

0 comments on commit 3c85255

Please sign in to comment.