Skip to content

首页修改主题颜色后左侧导航首页字体还是默认蓝色字体 #1057

Closed
@Irvinna

Description

@Irvinna
版本号:
问题描述:
截图&代码:

友情提示: 未按格式要求发帖,会直接删掉。

Activity

Irvinna

Irvinna commented on Apr 3, 2020

@Irvinna
Author

image

sjlei

sjlei commented on May 8, 2020

@sjlei

问题已修复,将在下个版本更新。

xmlspyspring

xmlspyspring commented on May 10, 2020

@xmlspyspring

问题已修复,将在下个版本更新。

请问是什么原因导致的,旧版本如何解决这个问题? 我现在就要解决这个问题啊

zhangdaiscott

zhangdaiscott commented on May 11, 2020

@zhangdaiscott
Member

public/color.less
增加样式代码

// 侧边导航栏首页颜色跟随主题变化
.ant-menu.ant-menu-root > .ant-menu-item:first-child.ant-menu-item-selected {
  & > a,
  & > a:hover {
    color: @primary-color;
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @xmlspyspring@zhangdaiscott@Irvinna@sjlei

        Issue actions

          首页修改主题颜色后左侧导航首页字体还是默认蓝色字体 · Issue #1057 · jeecgboot/JeecgBoot