refactor: move stat out
This commit is contained in:
parent
2539ad7cf5
commit
9bc9e0f1d5
2 changed files with 11 additions and 10 deletions
|
|
@ -1,6 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import AppBox from 'components/app/AppBox.vue';
|
||||
import { vModelSelect } from 'vue';
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
|
|
@ -22,17 +21,17 @@ const props = withDefaults(
|
|||
|
||||
<template>
|
||||
<div
|
||||
class="row full-width"
|
||||
class="row"
|
||||
style="gap: var(--size-4)"
|
||||
:class="{ dark, 'no-wrap': nowrap }"
|
||||
>
|
||||
<AppBox
|
||||
v-for="v in props.branch"
|
||||
:key="v.label"
|
||||
class="col-12 no-padding shadow-2"
|
||||
class="no-padding shadow-2"
|
||||
:class="{ [`stat-card__${v.color}`]: true }"
|
||||
:key="v.label"
|
||||
>
|
||||
<div class="stat-card__content row items-center q-pa-md">
|
||||
<div class="stat-card__content row items-center q-px-md q-py-sm">
|
||||
<div class="col-4 text-center">
|
||||
<q-avatar
|
||||
size="lg"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue