Skip to content

Commit

Permalink
style: Adjust vertical alignment of object counts, flush with icons
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Oct 1, 2024
1 parent b933d2f commit a070f83
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions web/src/components/MainDrawerContents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,21 @@ export default {
{{ project.name }}
<div style="color: grey" class="mt-2">
<v-icon icon="mdi-database-outline" size="small" />
<span class="mr-3">{{ project.item_counts.datasets }}</span>
<span class="mr-3" style="vertical-align: text-bottom">
{{ project.item_counts.datasets }}
</span>
<v-icon icon="mdi-border-none-variant" size="small" />
<span class="mr-3">{{ project.item_counts.regions }}</span>
<span class="mr-3" style="vertical-align: text-bottom">
{{ project.item_counts.regions }}
</span>
<v-icon icon="mdi-chart-bar" size="small" />
<span class="mr-3">{{ project.item_counts.charts }}</span>
<span class="mr-3" style="vertical-align: text-bottom">
{{ project.item_counts.charts }}
</span>
<v-icon icon="mdi-earth" size="small" />
<span class="mr-3">{{ project.item_counts.simulations }}</span>
<span class="mr-3" style="vertical-align: text-bottom">
{{ project.item_counts.simulations }}
</span>
</div>
</div>
<div class="location-menu">
Expand Down

0 comments on commit a070f83

Please sign in to comment.