Skip to content

Commit

Permalink
feat(SpoolmanCard): show color as header banner on small screens
Browse files Browse the repository at this point in the history
Signed-off-by: Mathis Mensing <[email protected]>
  • Loading branch information
matmen committed Jul 27, 2023
1 parent 88b50ac commit 33a4528
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/widgets/spoolman/SpoolmanCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
</app-btn>
</template>

<v-progress-linear
v-if="activeSpool && $vuetify.breakpoint.lgAndDown"
value="100"
:height="6"
:color="`#${activeSpool.filament.color_hex}`"
/>

<v-card-text>
<v-row>
<template v-if="activeSpool">
Expand Down Expand Up @@ -85,7 +92,7 @@
</v-col>

<v-col
v-if="$vuetify.breakpoint.lgAndUp"
v-if="$vuetify.breakpoint.xl"
cols="auto"
align-self="center"
class="pa-0"
Expand Down

0 comments on commit 33a4528

Please sign in to comment.