Repository: ant-design
Issue: 水平模式下 menu item 无法设置 margin，token 中设置 itemMarginInline 无效
Labels: 💡 Feature Request,Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/devbox/antd-menu-issue-6jhhgp?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clujfyf8v00073b6lb00vsur6%2522%252C%2522sizes%2522%253A%255B70%252C30%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clujfyf8u00023b6lqz9vzb3g%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clujfyf8v00043b6lvz43rklx%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clujfyf8v00063b6lnm3ddd4j%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clujfyf8u00023b6lqz9vzb3g%2522%253A%257B%2522id%2522%253A%2522clujfyf8u00023b6lqz9vzb3g%2522%252C%2522tabs%2522%253A%255B%255D%257D%252C%2522clujfyf8v00063b6lnm3ddd4j%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clujfyf8v00053b6lw3fvnaf7%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522port%2522%253A5173%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522id%2522%253A%2522clujfyf8v00063b6lnm3ddd4j%2522%252C%2522activeTabId%2522%253A%2522clujfyf8v00053b6lw3fvnaf7%2522%257D%252C%2522clujfyf8v00043b6lvz43rklx%2522%253A%257B%2522id%2522%253A%2522clujfyf8v00043b6lvz43rklx%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clujfyf8u00033b6ld6lyrfbb%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522dev%2522%257D%255D%252C%2522activeTabId%2522%253A%2522clujfyf8u00033b6ld6lyrfbb%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D)

### Steps to reproduce

```
<ConfigProvider
      theme={{
        components: {
          Menu: {
            itemMarginInline: 12,
          },
        },
      }}
    >
      <Menu
        defaultSelectedKeys={["2"]}
        items={items}
        style={{ flex: 1, minWidth: 0 }}
      />
      <Menu
        theme="dark"
        mode="horizontal"
        defaultSelectedKeys={["2"]}
        items={items}
        style={{ flex: 1, minWidth: 0 }}
      />
    </ConfigProvider>
```
垂直模式下 itemMarginInline 有效，水平模式下无效

### What is expected?

水平模式支持调整 margin

### What is actually happening?

 不支持调整 margin

| Environment | Info |
| --- | --- |
| antd | 5.16.0 |
| React | 18.2.0 |
| System | macOS Sonoma 14.2.1 |
| Browser | Chrome 123.0.6312.87 |

---
 menu 组件代码中确实没看到处理 margin token，是因为影响到折叠功能吗？因为 rc-overflow 不支持 margin？

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->