Commit 70e3ce94 authored by Florie Guibert's avatar Florie Guibert

Fix stylelint warning in related_items_list.scss

parent da918859
...@@ -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;
} }
} }
} }
...@@ -50,8 +50,10 @@ export default { ...@@ -50,8 +50,10 @@ export default {
{{ healthStatus.issuesOnTrack }} {{ healthStatus.issuesOnTrack }}
</span></span </span></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 health-label-long gl-display-none">{{
<span class="mr-1 mr-md-2 text-secondary text-truncate health-label-short">{{ __('issues on track')
}}</span>
<span class="mr-1 mr-md-2 text-secondary text-truncate health-label-short gl-display-none">{{
__('on track') __('on track')
}}</span> }}</span>
...@@ -60,10 +62,10 @@ export default { ...@@ -60,10 +62,10 @@ export default {
{{ healthStatus.issuesNeedingAttention }} {{ healthStatus.issuesNeedingAttention }}
</span></span </span></span
> >
<span class="mr-1 mr-md-2 text-secondary health-label-long">{{ <span class="mr-1 mr-md-2 text-secondary health-label-long gl-display-none">{{
__('issues need attention') __('issues need attention')
}}</span> }}</span>
<span class="mr-1 mr-md-2 text-secondary text-truncate health-label-short">{{ <span class="mr-1 mr-md-2 text-secondary text-truncate health-label-short gl-display-none">{{
__('need attention') __('need attention')
}}</span> }}</span>
...@@ -72,7 +74,9 @@ export default { ...@@ -72,7 +74,9 @@ export default {
{{ healthStatus.issuesAtRisk }} {{ healthStatus.issuesAtRisk }}
</span></span </span></span
> >
<span class="text-secondary health-label-long">{{ __('issues at risk') }}</span> <span class="text-secondary health-label-long gl-display-none">{{ __('issues at risk') }}</span>
<span class="text-secondary text-truncate health-label-short">{{ __('at risk') }}</span> <span class="text-secondary text-truncate 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