img-2 icon indicating copy to clipboard operation
img-2 copied to clipboard

The width attribute value is 100% high. How should we solve this problem?

Open 750973092 opened this issue 6 years ago • 3 comments

750973092 avatar Sep 04 '18 08:09 750973092

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.

RevillWeb avatar Sep 04 '18 09:09 RevillWeb

<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

750973092 avatar Sep 04 '18 09:09 750973092

大兄弟,我是用翻译软件翻译的,不知道你能不能看的懂,

750973092 avatar Sep 04 '18 09:09 750973092