Commit 544a0393 authored by Daniel Tian's avatar Daniel Tian

Remove spacing span for related issue item

parent 25f61c67
...@@ -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 d-flex align-items-center flex-wrap 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