Commit ce55a642 authored by carolcarvalhosa's avatar carolcarvalhosa

Fix icon alignment on board cards

parent 1047ae11
......@@ -87,11 +87,7 @@ export default {
<template>
<span>
<span ref="issueDueDate" :class="cssClass" class="board-card-info card-number">
<icon
:class="{ 'text-danger': isPastDue }"
class="board-card-info-icon align-top"
name="calendar"
/>
<icon :class="{ 'text-danger': isPastDue }" class="board-card-info-icon" name="calendar" />
<time :class="{ 'text-danger': isPastDue }" datetime="date" class="board-card-info-text">{{
body
}}</time>
......
......@@ -34,10 +34,9 @@ export default {
<template>
<span>
<span ref="issueTimeEstimate" class="board-card-info card-number">
<icon name="hourglass" class="board-card-info-icon align-top" /><time
class="board-card-info-text"
>{{ timeEstimate }}</time
>
<icon name="hourglass" class="board-card-info-icon" /><time class="board-card-info-text">{{
timeEstimate
}}</time>
</span>
<gl-tooltip
:target="() => $refs.issueTimeEstimate"
......
......@@ -521,7 +521,7 @@
}
&.board-card-weight {
color: $gl-text-color;
color: $gl-text-color-secondary;
cursor: pointer;
&:hover {
......@@ -531,8 +531,9 @@
}
.board-card-info-icon {
color: $gray-600;
color: $gray-700;
margin-right: $gl-padding-4;
vertical-align: text-top;
}
@include media-breakpoint-down(md) {
......
---
title: Fix icon alignment on board cards
merge_request: 35710
author: carolcarvalhosa
type: fixed
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