Skip to content

correctly apply hw-img class to img tag#171

Merged
skorpy2009 merged 1 commit intofreifunk:mainfrom
maurerle:fix_hw_img_size
Jun 23, 2025
Merged

correctly apply hw-img class to img tag#171
skorpy2009 merged 1 commit intofreifunk:mainfrom
maurerle:fix_hw_img_size

Conversation

@maurerle
Copy link
Member

Description

the hw-img class was not applied to the img

Motivation and Context

svg images did not have a max-size of 150px because of this.

See here for more information: https://forum.freifunk.net/t/meshviewer-router-icon-svg-groesse-einstellen/24429

How Has This Been Tested?

by using the desktop view and making sure that the img now has the correct class applied

Screenshots/links:

Before:

image

After:

image

The error has been introduced after: 9eab1c5 (last working commit)

Checklist:

  • My code follows the code style of this project. (CI will test it anyway and also needs approval)
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.

@maurerle
Copy link
Member Author

Someone should run npm audit fix for the pipeline to succeed..

@skorpy2009 skorpy2009 merged commit eef3e16 into freifunk:main Jun 23, 2025
2 checks passed
@maurerle maurerle deleted the fix_hw_img_size branch June 29, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants