Weird (bordering bug?) behavior with row heights on repeating panels

When I want to shrink the height of the rows on a DataGrid, I set the role of all the lables and links to text and the above and below spacing to none (see here).

When I don’t add a label and use the automatic databinding of the DataGrid, the rows are always tall, they don’t seem to respond to the above and below spacing settings.

I noticed that the class of the automatically added label contain spacing-above-small, even if small never appears on any spacing above on any component on the whole app. I even searched for the small text in the cloned repository, and I haven’t found it. And yet, the generated page uses it.

The workaround is to add labels rather than using the automatic texts, but I think this doesn’t work as expected.

image