Skip to content

Follow docs for converting sizes in loading-icon component

According to the docs the conversion for the legacy size 1 to the new t-shirt size should be sm but it actually rendered as md.

This commit adds a fix so the behaviour matches the documentation and translates 1 to sm.

It also adds some tests around legacy-support.

Edited by David Pisek

Merge request reports