Commit f2cb958c authored by George Tsiolis's avatar George Tsiolis

Replace icons in Boards vue components

parent ef67147a
<script> <script>
import Icon from '~/vue_shared/components/icon.vue';
import bp from '../../../breakpoints'; import bp from '../../../breakpoints';
import ModalStore from '../../stores/modal_store'; import ModalStore from '../../stores/modal_store';
import IssueCardInner from '../issue_card_inner.vue'; import IssueCardInner from '../issue_card_inner.vue';
...@@ -6,6 +7,7 @@ ...@@ -6,6 +7,7 @@
export default { export default {
components: { components: {
IssueCardInner, IssueCardInner,
Icon,
}, },
props: { props: {
issueLinkBase: { issueLinkBase: {
...@@ -147,13 +149,13 @@ ...@@ -147,13 +149,13 @@
:issue="issue" :issue="issue"
:issue-link-base="issueLinkBase" :issue-link-base="issueLinkBase"
:root-path="rootPath"/> :root-path="rootPath"/>
<span <icon
v-if="issue.selected" v-if="issue.selected"
:aria-label="'Issue #' + issue.id + ' selected'" :aria-label="'Issue #' + issue.id + ' selected'"
name="mobile-issue-close"
aria-checked="true" aria-checked="true"
class="issue-card-selected text-center"> class="issue-card-selected text-center"
<i class="fa fa-check"></i> />
</span>
</div> </div>
</div> </div>
</div> </div>
......
<script> <script>
import { Link } from '@gitlab-org/gitlab-ui'; import { Link } from '@gitlab-org/gitlab-ui';
import Icon from '~/vue_shared/components/icon.vue';
import ModalStore from '../../stores/modal_store'; import ModalStore from '../../stores/modal_store';
import boardsStore from '../../stores/boards_store'; import boardsStore from '../../stores/boards_store';
export default { export default {
components: { components: {
'gl-link': Link, 'gl-link': Link,
Icon,
}, },
data() { data() {
return { return {
...@@ -35,7 +37,9 @@ export default { ...@@ -35,7 +37,9 @@ export default {
class="dropdown-label-box"> class="dropdown-label-box">
</span> </span>
{{ selected.title }} {{ selected.title }}
<i class="fa fa-chevron-down"></i> <icon
name="angle-down"
/>
</button> </button>
<div class="dropdown-menu dropdown-menu-selectable dropdown-menu-drop-up"> <div class="dropdown-menu dropdown-menu-selectable dropdown-menu-drop-up">
<ul> <ul>
......
...@@ -144,6 +144,13 @@ ...@@ -144,6 +144,13 @@
top: 11px; top: 11px;
right: 8px; right: 8px;
} }
.ic-angle-down {
position: absolute;
top: 8px;
right: 8px;
color: $gray-darkest;
}
} }
@mixin dropdown-item-hover { @mixin dropdown-item-hover {
......
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