Cannot Get Global Navigation Icon SVG to Size Correctly for LTI

rpeters3
Community Participant

I have an LTI tool that has global navigation placement and uses the <lticm:property name="icon_url"> parameter to set the icon for global navigation. No matter what size specified within the SVG file itself, the icon is always displaying in Global Navigation as 84px when it needs to be 26px.

The only clue I found is via inspect element, I see height being set to auto which is not true of the built-in canvas icons in the global nav.

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

 

Any suggestions on how I can control the sizing?

Labels (4)
Users who also had this question