Skip to content

Commit

Permalink
feat: make dashboard responsive for phones
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 14, 2024
1 parent fae31ad commit 010e3b6
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions frontend/src/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<v-container>
<v-row>
<v-col>
<v-card height="180">
<v-col cols="6" sm="4">
<v-card style="min-height: 100%">
<v-card-item>
<v-card-title>Pipelines</v-card-title>
</v-card-item>
Expand All @@ -11,8 +11,8 @@
</v-card-text>
</v-card>
</v-col>
<v-col>
<v-card height="180">
<v-col cols="6" sm="4">
<v-card style="min-height: 100%">
<v-card-item>
<v-card-title>Jobs</v-card-title>
</v-card-item>
Expand All @@ -27,8 +27,8 @@
</v-card-text>
</v-card>
</v-col>
<v-col>
<v-card height="180">
<v-col cols="6" sm="4">
<v-card style="min-height: 100%">
<v-card-item>
<v-card-title>Workers</v-card-title>
</v-card-item>
Expand All @@ -44,10 +44,8 @@
</v-card-text>
</v-card>
</v-col>
</v-row>
<v-row>
<v-col v-for="arch in archs" :link="arch" cols="3">
<v-card height="200">
<v-col v-for="arch in archs" :link="arch" cols="6" sm="3">
<v-card style="min-height: 100%">
<v-card-item>
<v-card-title>{{ arch }}</v-card-title>
</v-card-item>
Expand Down

0 comments on commit 010e3b6

Please sign in to comment.