diff --git a/src/components/GlobalHeader/index.less b/src/components/GlobalHeader/index.less index cbb5b3a6..37a1c636 100644 --- a/src/components/GlobalHeader/index.less +++ b/src/components/GlobalHeader/index.less @@ -91,6 +91,23 @@ } } +:global(.ant-pro-global-header) { + .dark { + .action { + color: @text-color; + > i { + color: @text-color; + } + &:hover { + color: rgba(255, 255, 255, 0.85); + > i { + color: rgba(255, 255, 255, 0.85); + } + } + } + } +} + @media only screen and (max-width: @screen-md) { :global(.ant-divider-vertical) { vertical-align: unset; @@ -110,7 +127,6 @@ position: absolute; top: 0; right: 12px; - background: #fff; .account { .avatar { margin-right: 0;