Skip to content

Commit

Permalink
Use row-* classnames for dashboard rows to prevent CSS clashes
Browse files Browse the repository at this point in the history
  • Loading branch information
billyc committed Mar 16, 2022
1 parent 97f9a7d commit 0f9bc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/DashBoard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
p {{ description }}

//- start row here
.dash-row(v-for="row,i in rows" :key="i" :class="row.id")
.dash-row(v-for="row,i in rows" :key="i" :class="`row-${row.id}`")

//- each card here
.dash-card-frame(v-for="card,j in row.cards" :key="`${i}/${j}`"
Expand Down

0 comments on commit 0f9bc47

Please sign in to comment.