Skip to content

Commit

Permalink
🎨 Card适配移动端 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
bietiaop authored Aug 21, 2024
1 parent 7ff84c8 commit 6e5a000
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/.vitepress/theme/components/Card.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script setup lang="ts">
import json from '../../../public/plugin_list.json'
function goToPage(url: string) {
window.open(url, '_blank')
}
Expand Down Expand Up @@ -200,4 +201,10 @@ a {
.card:hover .info .description {
color: rgb(235, 226, 225);
}
@media screen and (min-width: 768px) {
.card {
cursor: pointer;
}
}
</style>

0 comments on commit 6e5a000

Please sign in to comment.