Skip to content

Remove spacing span for related issue item

Daniel Tian requested to merge 229843-remove-spacing-span into master

What does this MR do?

A related issue item can have an optional remove button on the right:

ksnip_20200728-011536

Currently, if the button is not shown, a hidden <span> the same height as the button is used to make the issue item the same height whether it has the button or not. Without it, the item height will shrink:

Height without button Height with button
ksnip_20200728-011821 ksnip_20200728-011841

This MR removes the hidden <span> in favor of a class on the text element instead:

Text element before Text element after
ksnip_20200728-012234 ksnip_20200728-012309

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Daniel Tian

Merge request reports