小问题:按钮的鼠标移出区域比鼠标移入区域小

您好:

我认为您可以使用 CSS 来更改此设置。从 JS 来看,它似乎针对的是 button.widget-button,并在 mouseenter 时添加 .d-hover 类。但是,当您将光标移到图标上然后移开时,它会从目标类中移除并删除 .d-hover 类。或者类似这样的东西 :slightly_smiling_face:

尝试在桌面/CSS 上执行类似操作:

nav.post-controls {
  .actions button {
    .d-icon,
    .d-button-label {
      pointer-events: none;
    }
  }
}

Sep-02-2022 09-07-02

1 个赞