img-2
img-2 copied to clipboard
The width attribute value is 100% high. How should we solve this problem?
Hi, thank you for taking the time to submit an issue. Would you be able to provide some more detail on the issue you are having? Not sure what you mean by with is 100% high? Do you have some code to share?
Thank you.
<img-2 src={val.imageUrl} width="100%" height="188" src-preview={require('../../statis/img/defal.png')} alt="An amazing picture of a cat">
Can you set the width attribute by percentage?I want to set width adaption
大兄弟,我是用翻译软件翻译的,不知道你能不能看的懂,