Extra 5 pixels now in <sp-slider> between the label and the slider

With the release of Ps 22.5 on both Mac and Windows there is an extra five (5) pixels between the label and the slider for a slider like the following:

<sp-slider id="sliderSELECTOR" min="0" max="255" value="128" style="position: absolute; top: 0px; left: 5px; width: 225px;"><sp-label slot="label"></sp-label></sp-slider>

The slider and the label used to be 5 pixels closer together.

Is there anyway to style the label to fix it’s location relative to the slider to avoid this type of random movement with new Ps releases?

Here is another example of an “sp” element changing with Ps 22.5: <sp-body> element no longer synced to other "sp" elements in Photoshop 22.5.0

Addendum: This is happening on the Kitchen Sink plugin as well.

Solved it. Now need to specify a “size” attribute.

<sp-slider size="S" id="sliderSELECTOR" min="0" max="255" value="128" style="position: absolute; top: 0px; left: 5px; width: 225px;"><sp-label slot="label"></sp-label></sp-slider>

Has this always been necessary?

Im not seeing any difference between not putting a size in. Is this with API 1 or 2

Not API 2. Just Ps 22.5. Difference is small between “S” and “M” Try size="XXL". It looks like almost all “sp” elements respond to the “size” attribute now. size="M" seems to be the usual default.