Replies: 2 comments
|
Hi @Kjkgfgdj! I'm Dosu and I’m helping the ant-design team. You can make the Ant Design Divider thicker in a few ways: 1. Use the <Divider size="large" />This gives you three preset thicknesses: 2. Use the <Divider style={{ borderWidth: 4 }} />
// For vertical:
<Divider type="vertical" style={{ borderLeftWidth: 4 }} />(example) 3. Use the <Divider styles={{ rail: { borderWidth: 6 } }} />(details) 4. For global changes, use theme tokens: <ConfigProvider theme={{ token: { lineWidth: 6 } }}>
<Divider />
</ConfigProvider>(demo) Pick the method that fits your needs— To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Uh oh!
There was an error while loading. Please reload this page.
Hello,

I hop every one is doing good
How do I increase the thickness of divider it's pretty shallow now i want it to be bigger as you can see in the poto
All reactions