Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

style(ui): ensure styles for menu items in 'no-hover' state are applied correctly (#2434)

白熱e4d0f446756e
diff --git a/packages/ui/src/components/menu/index.module.less b/packages/ui/src/components/menu/index.module.less
index 8e3152135f..fc712c3c48 100644
--- a/packages/ui/src/components/menu/index.module.less
+++ b/packages/ui/src/components/menu/index.module.less
@@ -2,6 +2,10 @@
&-item {
&-no-hover {
background: none;
+
+ &.menu-item-active {
+ background: none;
+ }
}
&-activated {