Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temp fix for line-height issue #14

Merged
merged 1 commit into from
Nov 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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