Skip to content

Commit

Permalink
Add tiny class for info icon
Browse files Browse the repository at this point in the history
  • Loading branch information
bressler95tops authored Aug 6, 2024
1 parent befc08f commit c705f58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions _static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
margin-bottom: 12px;
}

img.tops-image-tiny {
width: auto;
height: 35px;
}

img.tops-image-small {
width: 100%;
max-width: 250px;
Expand Down
2 changes: 1 addition & 1 deletion _static/uicontrol.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ document.addEventListener("DOMContentLoaded", function() {
console.log("Excluding logo: " + image_src);
} else if(image_src.includes('image71.png') == true) {
console.log("Shrinking info image: " + image_src);
image.classList.add("tops-image-small");
image.classList.add("tops-image-tiny");
} else {
if(image_width > image_height) {
let width_delta = image_width - image_height;
Expand Down

0 comments on commit c705f58

Please sign in to comment.