Skip to content

Add square css class

Paul Slaughter requested to merge create-svg-wrapper-css-class into master

What does this MR do?

This MR introduces a square css class (originally svg-wrapper) which allows any element to use the svg s classes.

This is helpful when needing to wrap the size of an svg with an empty container. Example:

<div class="square s32 d-flex-center">
  <svg class="s16">...</svg>
</div>

When have we needed to do this?

In the MR widget, sometimes we want an icon to be rendered smaller but inline with the bigger sized icons. This was needed for the upcoming MR's:

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Paul Slaughter

Merge request reports