vue-antd | View UI Component & amp ; Ant.Design
kandi X-RAY | vue-antd Summary
kandi X-RAY | vue-antd Summary
View UI Component & Ant.Design
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vue-antd
vue-antd Key Features
vue-antd Examples and Code Snippets
Community Discussions
Trending Discussions on vue-antd
QUESTION
I'm building web app Ant Design and Vue, and I created custom modal that is based on ant-modal
, it is like below.
- My Custom Modal
ANSWER
Answered 2020-Jun-06 at 08:57I solved this problem like below.
- App.vue
QUESTION
I'm using Ant Design and Vue to create Web App.
I face a problem that the content of a-avatar
is a little bit moving to the left side.
This is the screenshot of the problem.
This is the link to my source code.
https://codesandbox.io/s/vue-antd-template-9hwc4?file=/src/App.vue
...ANSWER
Answered 2020-Jun-06 at 05:08The reason is according to source code, ant-menu-item will add a margin-right
to if the children is an icon
so a menu with icon like this display correctly and always have a right spacing. but I guess they just did not account Avatar also has an icon and can be inside of menu
I believe this is a bug, but meanwhile, you can just overwrite it. https://codesandbox.io/s/vue-antd-template-oqeko?file=/src/App.vue:478-517
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vue-antd
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page