Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
feat(ui): new todo icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Jan 21, 2022
1 parent 04c77be commit 6c9a56a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/peeky-client/src/features/StatusIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
CheckIcon,
XIcon,
ChevronsRightIcon,
EditIcon,
Edit2Icon,
} from '@zhuowenli/vue-feather-icons'
import { defineProps } from 'vue'
import type { TestStatus } from '../util/status'
Expand All @@ -16,7 +16,7 @@ const icons: Record<TestStatus, any> = {
success: CheckIcon,
error: XIcon,
skipped: ChevronsRightIcon,
todo: EditIcon,
todo: Edit2Icon,
}
const classes: Record<TestStatus, string> = {
Expand Down Expand Up @@ -91,12 +91,12 @@ const props = defineProps({

<div
v-if="icon && icons[status]"
class="absolute bottom-0 left-0 w-full flex items-center justify-center"
class="absolute bottom-[2px] left-0 w-full flex items-center justify-center"
>
<component
:is="icons[status]"
:class="classes[status]"
class="w-[12px] h-[12px]"
class="w-[10px] h-[10px]"
/>
</div>
</div>
Expand Down

0 comments on commit 6c9a56a

Please sign in to comment.