Skip to content
代码片段 群组 项目
提交 48290143 编辑于 作者: Jannik Lehmann's avatar Jannik Lehmann
浏览文件

Adjust alignment of Codequality inline Icons

This commit solves: https://gitlab.com/gitlab-org/gitlab/-/issues/382333
It adjusts the alignment of the Codequality inline Icons.

Changelog: changed
上级 1ae75c1f
No related branches found
No related tags found
无相关合并请求
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
:size="16" :size="16"
:name="severity[firstCodequalityItem.severity].name" :name="severity[firstCodequalityItem.severity].name"
:class="severity[firstCodequalityItem.severity].class" :class="severity[firstCodequalityItem.severity].class"
class="gl-hover-cursor-pointer codequality-severity-icon gl-vertical-align-baseline!" class="gl-hover-cursor-pointer gl-relative gl-top-1 codequality-severity-icon gl-vertical-align-baseline!"
@mouseenter="isHoveringFirstIcon = true" @mouseenter="isHoveringFirstIcon = true"
@mouseleave="isHoveringFirstIcon = false" @mouseleave="isHoveringFirstIcon = false"
/> />
...@@ -103,13 +103,13 @@ export default { ...@@ -103,13 +103,13 @@ export default {
:size="16" :size="16"
:name="severity[item.severity].name" :name="severity[item.severity].name"
:class="[isHoveringFirstIcon ? 'first-icon-hovered' : '', severity[item.severity].class]" :class="[isHoveringFirstIcon ? 'first-icon-hovered' : '', severity[item.severity].class]"
class="gl-hover-cursor-pointer codequality-severity-icon gl-absolute gl-left-0 gl-opacity-0" class="gl-hover-cursor-pointer gl-relative gl-top-1 codequality-severity-icon gl-absolute gl-left-0 gl-opacity-0"
/> />
<div <div
v-if="moreCount" v-if="moreCount"
:class="[ :class="[
isHoveringFirstIcon ? 'first-icon-hovered' : '', isHoveringFirstIcon ? 'first-icon-hovered' : '',
'more-count gl-px-2 gl-w-auto gl-absolute gl-left-0 gl-opacity-0', 'more-count gl-px-2 gl-w-auto gl-absolute gl-left-0 gl-opacity-0 gl-relative gl-top-1',
]" ]"
data-testid="codeQualityMoreCount" data-testid="codeQualityMoreCount"
> >
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册