Skip to content

Commit

Permalink
fix help img width (#3496)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman1919 authored Dec 31, 2023
1 parent 8984ebb commit 2f3d4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class HelpWidget {

// body = body + '<p><img src="' + path + "/" + name + '_block.svg"></p>';
const imageSrc = `${path}/${name}_block.svg` ;
body += `<figure><img src=${imageSrc}></figure>`;
body += `<figure style="width:100%;"><img style="max-width:100%;" src=${imageSrc}></figure>`;
}

body += `<p>${message[0]}</p>`;
Expand Down

0 comments on commit 2f3d4d3

Please sign in to comment.