Re-add utility classes mw-m, mw-l and mw-xl for metadata_item.vue

What does this MR do and why?

Re-adds the CSS Classes mw-m, mw-l and mw-xl which had been removed in !164861 (diffs). As @julie_huang noticed, we have a dynamic CSS Class in app/assets/javascripts/vue_shared/components/registry/metadata_item.vue which is still using mw-s, mw-m, mw-l, and mw-xl.

So, instead of removing mw-s as the issue original suggested, this MR brings back the CSS Classes, and also adds a Storybook Story to verify MetadataItem.vue

To test this locally, (make sure to yarn install) run yarn storybook:start and open the URL http://localhost:9002/?path=/story/vue-shared-registry-metadata-item--varying-sizes

Screenshots

Screenshot_2024-11-11_at_10.34.21

Screenshot_2024-11-11_at_10.21.19

Screenshot_2024-11-11_at_10.21.12

Screenshot_2024-11-11_at_10.21.08

Screenshot_2024-11-11_at_10.21.04

Related to #482680 (closed)

Edited by Vanessa Otto

Merge request reports

Loading