Comments (12)
select 和 input-number 中的 input 分别是在 Select.js 和 InputNumber.js 中写固定了的,要实现支持三套大小,可能还需要提供API @yiminghe
from ant-design.
用样式改如何?
from ant-design.
mixin
from ant-design.
mixin 怎么实现?提供传递 className 的 API 来修改样式可以吗?
from ant-design.
https://github.com/ant-design/ant-design/blob/master/style/components/inputNumber.less#L45
from ant-design.
mixin 也实现不了吧,得有个 API 来设置 className ,不同的 className 对应不同的样式
from ant-design.
select 和 input-number 用 mixin 搞不定的。
from ant-design.
select/input-number 组件可以设置 className
from ant-design.
通过修改 prefixCls 来设置 className 么?
from ant-design.
<InputNumber className="" />
from ant-design.
fixed via #121
from ant-design.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
from ant-design.
Related Issues (20)
- 多个 Drawer 的打开层级问题 HOT 5
- 表格列在搜索情况下,国际化失效 HOT 3
- Notification 关闭的动画有点闪烁,不够平滑 HOT 2
- FloatButton BackTop 中使用的 CSSMotion 中存在findDOMNode 导致控制台警告
- Antd theme is not working with nextjs module federation and nextjs 14. HOT 1
- Badge在CodeSandbox打不开demo HOT 1
- V5的Sider内嵌Menu时,从收缩状态变为展开状态的过渡动画效果不平滑,V4则不存在 HOT 3
- Tabs translate when window resizing HOT 7
- Empty 组件改变 image 会同时改变 description 字体颜色,违反直觉 HOT 1
- Show progress bar for auto-closing notification HOT 2
- Dropdown is missing critical accessibility attributes HOT 1
- @ant-design/cssinjs 如何和antd版本保持一致? HOT 2
- @ant-design/cssinjs 如何和antd版本保持一致? HOT 1
- CSS error when Cmd Shift R on Mac HOT 2
- DatePicker disabledDate 会多打印一次今天的当前年月日时分秒 HOT 2
- 设置 Select 组件字体fontSize: 12px会导致输入文本左移 HOT 1
- a-select添加右键菜单 HOT 1
- Image组件相册模式希望下方能提供图片预览 HOT 1
- The first few submenu items are not available HOT 1
- slider滑块多节点滑动时, tooltip 闪烁
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.