mishig HF staff commited on
Commit
7a6069d
1 Parent(s): 6be63ac

Add css max-wight to images

Browse files

Add css max-wight to images since some images are too big & covering the entire screen

Files changed (1) hide show
  1. share_btn.py +1 -1
share_btn.py CHANGED
@@ -61,7 +61,7 @@ share_js = """async () => {
61
  const urlInputImg = await uploadFile(inputFile);
62
 
63
  const descriptionMd = `#### Input img:
64
- <img src='${urlInputImg}'>
65
 
66
  #### Caption:
67
  ${outputTxt}`;
 
61
  const urlInputImg = await uploadFile(inputFile);
62
 
63
  const descriptionMd = `#### Input img:
64
+ <img src='${urlInputImg}' style='max-height: 350px;'>
65
 
66
  #### Caption:
67
  ${outputTxt}`;