Comments (3)
2024.03.27.16.14.52.webm
from ant-design.
可以通过修改以下样式解决问题
.ant-menu-inline-collapsed >.ant-menu-item{ inset-inline-start: 0; padding-inline: calc(50% - calc(var(--ant-font-size-lg) / 2) - var(--ant-menu-item-margin-inline)); text-overflow: clip; }
例如,将其修改为
.ant-menu-inline-collapsed >.ant-menu-item{ inset-inline-start: 0; padding-inline: calc(40px - calc(var(--ant-font-size-lg) / 2) - var(--ant-menu-item-margin-inline)); text-overflow: clip; }
实际效果,录制的视频存在卡顿,实际不存在
录屏 2024年03月27日 16时25分45秒.webm
这可以充作临时解决方案,但还是期待官方解决这个问题
from ant-design.
PR welcome
from ant-design.
Related Issues (20)
- Badge在CodeSandbox打不开demo HOT 1
- Tabs translate when window resizing HOT 7
- Empty 组件改变 image 会同时改变 description 字体颜色,违反直觉 HOT 2
- Show progress bar for auto-closing notification HOT 2
- Dropdown is missing critical accessibility attributes HOT 4
- @ant-design/cssinjs 如何和antd版本保持一致? HOT 2
- @ant-design/cssinjs 如何和antd版本保持一致? HOT 1
- CSS error when Cmd Shift R on Mac HOT 3
- DatePicker disabledDate 会多打印一次今天的当前年月日时分秒 HOT 2
- 设置 Select 组件字体fontSize: 12px会导致输入文本左移 HOT 3
- a-select添加右键菜单 HOT 1
- Image组件相册模式希望下方能提供图片预览 HOT 1
- The first few submenu items are not available HOT 1
- slider滑块多节点滑动时, tooltip 闪烁 HOT 5
- Modal confirm content not correctly centered HOT 1
- When setting timezone to GMT 0 (UTC), the TimePicker displays the value incorrectly. HOT 1
- Values of Form.List HOT 3
- Collapse ghost模式下主题变量contentPadding设置无效 HOT 2
- Form scrollToFirstError 对 Upload 失效 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design.