Thumbnails of STL files are incorrectly sized when included in <gallery mode="packed"> or <gallery mode='packed' heights=200> as by default they show up with files sized similarly to jpegs in <gallery mode='packed' heights=1500>
I tested all the modes and observed the issue also in the following modes:
- packed
- packed-overlay
- packed-hover
- slideshow
While "traditional" and "nolines" modes seem unaffected.
I tested the issue with several STL files on Commons and English Wikipedia and they all had the same issue. I also tried several browsers and the page looks different in each. The issue showed most in Chrome (Version 102.0.5005.63 ), and was less pronounced in Firefox (version 91.10.0esr) or MS Edge (Version 102.0.1245.30 )