Fixed style of attribute cards

This commit is contained in:
Stefan Zermatten
2021-03-27 13:45:10 +02:00
parent 0717f8e8d7
commit 26b68dccef

View File

@@ -3,16 +3,14 @@
:hover="hasClickListener" :hover="hasClickListener"
@click="click" @click="click"
> >
<v-card-text> <div class="layout align-center">
<div class="layout align-center"> <v-card-title class="value text-h4">
<div class="value text-h4 mr-1"> {{ computedValue }}
{{ computedValue }} </v-card-title>
</div> <v-card-title class="name text-subtitle-1 text-truncate pl-0">
<div class="name text-truncate"> {{ model.name }}
{{ model.name }} </v-card-title>
</div> </div>
</div>
</v-card-text>
</v-card> </v-card>
</template> </template>
@@ -53,6 +51,6 @@
<style lang="css" scoped> <style lang="css" scoped>
.value { .value {
min-width: 64px; min-width: 64px;
text-align: center; justify-content: center;
} }
</style> </style>