Open
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.6
Environment
win10、chrome137.0.7151.120、vue3
Reproduction link
Steps to reproduce
Carousel Component, provide it
structure as content.What is expected?
's height
What is actually happening?
It will have an additional 5px under the ,it cause unexpected results ,such as when you set border-radius of Carousel container an so on.
The reason is that img is inline and the default vertical-align of the image is baseline.This will result in a blank space below the image.Normally, adding vertical-align: bottom in a div will solve the problem.However,it not effect in Carousel,i dont know why,unless added it in inner class (ant-image)
Metadata
Metadata
Assignees
Labels
No labels