placement of user profile nav item and remove caret

This commit is contained in:
burnettk 2023-05-09 22:40:48 -04:00
parent e2a5a2aadf
commit 7e9787d5fe
2 changed files with 14 additions and 1 deletions

View File

@ -152,7 +152,10 @@ export default function NavigationBar() {
return (
<>
{SPIFF_ENVIRONMENT ? (
<HeaderGlobalAction className="spiff-environment-header-text unclickable-text">
<HeaderGlobalAction
title={`The current SpiffWorkflow environment is: ${SPIFF_ENVIRONMENT}`}
className="spiff-environment-header-text unclickable-text"
>
{SPIFF_ENVIRONMENT}
</HeaderGlobalAction>
) : null}

View File

@ -212,6 +212,7 @@ h1.with-icons {
margin-right: 8px;
margin-top: -20px;
}
#profile-user-button {
margin-top: 8px;
margin-right: 8px;
@ -220,6 +221,15 @@ h1.with-icons {
content: none;
}
#profile-user-button .cds--popover--bottom-right .cds--popover-content {
bottom: 11px;
right: -2px;
}
#profile-user-button .cds--popover-caret {
display: none;
}
.profile-user-toggle-button:hover {
background-color: #161616;
}