docs/.vitepress/theme/components/link-card/Grid.vue

b4b14b6b7d8c938463d83adb5e8193bcff586cde
wotaku/docs/.vitepress/theme/components/link-card/Grid.vue

25 lines · 323 bytes

 1<template>
 2  <div class="vp-grid">
 3    <slot />
 4  </div>
 5</template>
 6
 7<style scoped>
 8.vp-grid {
 9  display: grid;
10  grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
11  gap: 8px;
12}
13
14@media (min-width: 640px) {
15  .vp-grid {
16    gap: 8px;
17  }
18}
19
20@media (min-width: 768px) {
21  .vp-grid {
22    gap: 8px;
23  }
24}
25</style>
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form