diff --git a/package/component/src/component/menu/index.less b/package/component/src/component/menu/index.less index 9d323c69..dc913c8e 100644 --- a/package/component/src/component/menu/index.less +++ b/package/component/src/component/menu/index.less @@ -49,7 +49,9 @@ .layui-nav .layui-nav-item > a { display: block; padding: 0 30px; - color: rgba(255, 255, 255, 0.7); + * { + color: rgba(255, 255, 255, 0.7); + } } .layui-nav .layui-this:after, @@ -75,8 +77,8 @@ } .layui-nav .layui-nav-item a:hover, -.layui-nav .layui-this a { - color: #fff; +.layui-nav .layui-this * { + color: #fff !important; } .layui-nav .layui-this:after { diff --git a/package/document-component/src/document/zh-CN/components/menu.md b/package/document-component/src/document/zh-CN/components/menu.md index f312bfc9..6973837a 100644 --- a/package/document-component/src/document/zh-CN/components/menu.md +++ b/package/document-component/src/document/zh-CN/components/menu.md @@ -14,7 +14,7 @@