Skip to content

Commit 34dcc6d

Browse files
committed
fix dark mode display, increase density
1 parent 2568282 commit 34dcc6d

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

packages/common-ui/src/components/SkMouseTrap.vue

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@
77
</template>
88

99
<v-card>
10-
<v-toolbar color="teal" dark>
11-
<v-toolbar-title>Shortcut keys for this card:</v-toolbar-title>
12-
<v-spacer></v-spacer>
10+
<v-toolbar color="teal" dark dense>
11+
<v-toolbar-title class="text-subtitle-1">Shortcut keys:</v-toolbar-title>
1312
</v-toolbar>
14-
<v-list>
15-
<v-list-item v-for="hk in commands" :key="Array.isArray(hk.hotkey) ? hk.hotkey.join(',') : hk.hotkey">
16-
<v-btn variant="outlined" color="black">
13+
<v-list dense>
14+
<v-list-item
15+
v-for="hk in commands"
16+
:key="Array.isArray(hk.hotkey) ? hk.hotkey.join(',') : hk.hotkey"
17+
class="py-1"
18+
>
19+
<v-btn variant="outlined" color="primary" class="text-white" size="small">
1720
{{ Array.isArray(hk.hotkey) ? hk.hotkey[0] : hk.hotkey }}
1821
</v-btn>
1922
<v-spacer></v-spacer>
20-
<span class="text-right">
21-
{{ hk.command }}
22-
</span>
23+
<span class="text-caption ml-2">{{ hk.command }}</span>
2324
</v-list-item>
2425
</v-list>
2526
</v-card>

0 commit comments

Comments
 (0)