Commit 4d3ef0f8 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'fix-stylelint-warning-related-items-list' into 'master'

Fix stylelint warning in related_items_list.scss

See merge request gitlab-org/gitlab!34693
parents fd647b40 83612c32
...@@ -59,10 +59,6 @@ $item-remove-button-space: 42px; ...@@ -59,10 +59,6 @@ $item-remove-button-space: 42px;
flex-basis: 100%; flex-basis: 100%;
font-size: $gl-font-size-small; font-size: $gl-font-size-small;
&.mr-title {
font-weight: $gl-font-weight-bold;
}
.sortable-link { .sortable-link {
color: $gray-900; color: $gray-900;
} }
...@@ -77,10 +73,6 @@ $item-remove-button-space: 42px; ...@@ -77,10 +73,6 @@ $item-remove-button-space: 42px;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
} }
.health-label-short {
display: none;
}
} }
.item-body, .item-body,
...@@ -89,10 +81,6 @@ $item-remove-button-space: 42px; ...@@ -89,10 +81,6 @@ $item-remove-button-space: 42px;
max-width: 0; max-width: 0;
} }
.health-label-long {
display: none;
}
.status { .status {
&-at-risk { &-at-risk {
color: $red-500; color: $red-500;
...@@ -158,19 +146,16 @@ $item-remove-button-space: 42px; ...@@ -158,19 +146,16 @@ $item-remove-button-space: 42px;
max-width: $item-milestone-max-width; max-width: $item-milestone-max-width;
.ic-clock { .ic-clock {
color: $gl-text-color-secondary;
margin-right: $gl-padding-4; margin-right: $gl-padding-4;
} }
} }
.item-weight { .item-weight {
max-width: $item-weight-max-width; max-width: $item-weight-max-width;
.ic-weight {
color: $gl-text-color-secondary;
}
} }
.item-milestone .ic-clock,
.item-weight .ic-weight,
.item-due-date .ic-calendar { .item-due-date .ic-calendar {
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
...@@ -314,10 +299,6 @@ $item-remove-button-space: 42px; ...@@ -314,10 +299,6 @@ $item-remove-button-space: 42px;
max-width: 100px; max-width: 100px;
} }
} }
.health-label-long {
display: none;
}
} }
/* Large devices (large desktops, 1200px and up) */ /* Large devices (large desktops, 1200px and up) */
...@@ -331,10 +312,6 @@ $item-remove-button-space: 42px; ...@@ -331,10 +312,6 @@ $item-remove-button-space: 42px;
} }
} }
.health-label-long {
display: none;
}
.item-contents { .item-contents {
overflow: hidden; overflow: hidden;
} }
...@@ -371,12 +348,8 @@ $item-remove-button-space: 42px; ...@@ -371,12 +348,8 @@ $item-remove-button-space: 42px;
@media only screen and (min-width: 1500px) { @media only screen and (min-width: 1500px) {
.card-header { .card-header {
.health-label-short {
display: none;
}
.health-label-long { .health-label-long {
display: initial; display: block;
} }
} }
} }
...@@ -45,34 +45,42 @@ export default { ...@@ -45,34 +45,42 @@ export default {
> >
</gl-tooltip> </gl-tooltip>
<span class="gl-label gl-label-text-dark gl-label-sm status-on-track mr-1" <span class="gl-label gl-label-text-dark gl-label-sm status-on-track gl-mr-2">
><span class="gl-label-text"> <span class="gl-label-text">
{{ healthStatus.issuesOnTrack }} {{ healthStatus.issuesOnTrack }}
</span></span </span>
</span>
<span class="gl-mr-2 mr-md-2 gl-text-gray-700 health-label-long gl-display-none">
{{ __('issues on track') }}
</span>
<span
class="gl-mr-2 mr-md-2 gl-text-gray-700 gl-str-truncated health-label-short gl-display-none"
>{{ __('on track') }}</span
> >
<span class="mr-1 mr-md-2 text-secondary health-label-long">{{ __('issues on track') }}</span>
<span class="mr-1 mr-md-2 text-secondary text-truncate health-label-short">{{
__('on track')
}}</span>
<span class="gl-label gl-label-text-dark gl-label-sm status-needs-attention mr-1" <span class="gl-label gl-label-text-dark gl-label-sm status-needs-attention gl-mr-2">
><span class="gl-label-text"> <span class="gl-label-text">
{{ healthStatus.issuesNeedingAttention }} {{ healthStatus.issuesNeedingAttention }}
</span></span </span>
</span>
<span class="gl-mr-2 mr-md-2 gl-text-gray-700 health-label-long gl-display-none">
{{ __('issues need attention') }}
</span>
<span
class="gl-mr-2 mr-md-2 gl-text-gray-700 gl-str-truncated health-label-short gl-display-none"
>{{ __('need attention') }}</span
> >
<span class="mr-1 mr-md-2 text-secondary health-label-long">{{
__('issues need attention')
}}</span>
<span class="mr-1 mr-md-2 text-secondary text-truncate health-label-short">{{
__('need attention')
}}</span>
<span class="gl-label gl-label-text-dark gl-label-sm status-at-risk mr-1" <span class="gl-label gl-label-text-dark gl-label-sm status-at-risk gl-mr-2">
><span class="gl-label-text"> <span class="gl-label-text">
{{ healthStatus.issuesAtRisk }} {{ healthStatus.issuesAtRisk }}
</span></span </span>
> </span>
<span class="text-secondary health-label-long">{{ __('issues at risk') }}</span> <span class="gl-text-gray-700 health-label-long gl-display-none">
<span class="text-secondary text-truncate health-label-short">{{ __('at risk') }}</span> {{ __('issues at risk') }}
</span>
<span class="gl-text-gray-700 gl-str-truncated health-label-short gl-display-none">
{{ __('at risk') }}
</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