diff --git a/shell/components/nav/Header.vue b/shell/components/nav/Header.vue index fbfd49d1a30..9964552d62a 100644 --- a/shell/components/nav/Header.vue +++ b/shell/components/nav/Header.vue @@ -24,6 +24,12 @@ import IconOrSvg from '@shell/components/IconOrSvg'; import { wait } from '@shell/utils/async'; import { configType } from '@shell/models/management.cattle.io.authconfig'; import HeaderPageActionMenu from './HeaderPageActionMenu.vue'; +import { + RcDropdown, + RcDropdownItem, + RcDropdownSeparator, + RcDropdownTrigger +} from '@components/RcDropdown'; export default { @@ -39,6 +45,10 @@ export default { IconOrSvg, AppModal, HeaderPageActionMenu, + RcDropdown, + RcDropdownItem, + RcDropdownSeparator, + RcDropdownTrigger, }, props: { @@ -644,118 +654,62 @@ export default {
-
- + -
- - -
- +
@@ -1060,14 +1014,16 @@ export default { justify-content: space-between; padding: 10px; } + } + } - &.user-info { - display: block; - margin-bottom: 10px; - padding: 10px 20px; - border-bottom: solid 1px var(--border); - min-width: 200px; - } + div { + &.user-info { + margin-bottom: 10px; + padding: 10px 20px; + min-width: 200px; + display: flex; + flex-direction: column; } }