Skip to content

Commit 1d340d3

Browse files
committed
chore: style
1 parent a025708 commit 1d340d3

File tree

3 files changed

+17
-19
lines changed

3 files changed

+17
-19
lines changed

src/components/GroupList.vue

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,21 @@ import { groups } from '~/logic'
33
</script>
44

55
<template>
6-
<div class="flex flex-wrap gap-x-2 gap-y-2">
7-
<div>
8-
<div class="subheader">
9-
Suggested Shortcuts
10-
<sup class="opacity-50 text-sm">{{ groups.length }}</sup>
11-
</div>
12-
<div class="flex flex-col space-y-4">
13-
<div
14-
v-for="shortcut of groups"
15-
:key="shortcut.class"
16-
class="p-4 rounded-md bg-gray-400 bg-opacity-5"
17-
>
18-
<GroupLabel
19-
:name="shortcut.class"
20-
:count="shortcut.uses.length.toString()"
21-
/>
22-
</div>
6+
<div class="mb-5">
7+
<div class="subheader">
8+
Suggested Shortcuts
9+
<sup class="opacity-50 text-sm">{{ groups.length }}</sup>
10+
</div>
11+
<div class="flex flex-col space-y-4">
12+
<div
13+
v-for="shortcut of groups"
14+
:key="shortcut.class"
15+
class="p-4 rounded-md bg-gray-400 bg-opacity-5"
16+
>
17+
<GroupLabel
18+
:name="shortcut.class"
19+
:count="shortcut.uses.length.toString()"
20+
/>
2321
</div>
2422
</div>
2523
</div>

src/logic/state.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const categories = computed(() => {
9494

9595
export const categorized = computed(() => {
9696
if (!data.value)
97-
return {}
97+
return []
9898

9999
return categories.value
100100
.map(i => ({

src/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { isDemo } from '~/env'
99
<TopUtilities class="pb-2" />
1010
<ColorPalette class="pb-2" />
1111
<UtilitiesUsage class="pb-2" />
12-
<GroupList />
12+
<GroupList class="pb-2" />
1313
<FilesList class="pb-2" />
1414
</div>
1515
</template>

0 commit comments

Comments
 (0)