Commit fd045a0b authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch '229843-remove-spacing-span' into 'master'

Remove spacing span for related issue item

See merge request gitlab-org/gitlab!38054
parents 34f81f6b 0d7f308b
...@@ -38,13 +38,6 @@ export default { ...@@ -38,13 +38,6 @@ export default {
}, },
); );
}, },
heightStyle() {
return {
minHeight: '32px',
width: '0px',
visibility: 'hidden',
};
},
iconClasses() { iconClasses() {
return `${this.iconClass} ic-${this.iconName}`; return `${this.iconClass} ic-${this.iconName}`;
}, },
...@@ -60,7 +53,9 @@ export default { ...@@ -60,7 +53,9 @@ export default {
}" }"
class="item-body d-flex align-items-center py-2 px-3" class="item-body d-flex align-items-center py-2 px-3"
> >
<div class="item-contents d-flex align-items-center flex-wrap flex-grow-1 flex-xl-nowrap"> <div
class="item-contents gl-display-flex gl-align-items-center gl-flex-wrap gl-flex-grow-1 flex-xl-nowrap gl-min-h-7"
>
<!-- Title area: Status icon (XL) and title --> <!-- Title area: Status icon (XL) and title -->
<div class="item-title d-flex align-items-xl-center mb-xl-0"> <div class="item-title d-flex align-items-xl-center mb-xl-0">
<div ref="iconElementXL"> <div ref="iconElementXL">
...@@ -159,9 +154,5 @@ export default { ...@@ -159,9 +154,5 @@ export default {
> >
<icon :size="16" class="btn-item-remove-icon" name="close" /> <icon :size="16" class="btn-item-remove-icon" name="close" />
</button> </button>
<!-- This element serves to set the issue card's height at a minimum of 32 px. -->
<!-- It fixes #59594: when the remove button is missing, issues have inconsistent heights. -->
<span :style="heightStyle"></span>
</div> </div>
</template> </template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment