File tree Expand file tree Collapse file tree 5 files changed +292
-292
lines changed
Expand file tree Collapse file tree 5 files changed +292
-292
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ Warning raises a warning to watch out for `python`
110110 Here is a card with a duotone yellow icon
111111</Card >
112112
113- <CardGroup cols =" 2 " >
113+ <CardGroup : cols =" 2 " >
114114 <Card title =" First Card " icon =" envelope " color =" #ea5a0c " href =" # " >
115115 Neque porro quisquam est qui dolorem ipsum quia dolor sit amet
116116 </Card >
Original file line number Diff line number Diff line change 5252 "@mdit-vue/types" : " ^0.12.0" ,
5353 "@types/body-scroll-lock" : " ^3.1.0" ,
5454 "@types/estree" : " ^1.0.1" ,
55- "@types/node" : " ^20.4.0 " ,
55+ "@types/node" : " ^20.4.4 " ,
5656 "prettier" : " ^3.0.0" ,
5757 "typescript" : " ^5.1.6" ,
58- "vitepress" : " 1.0.0-beta.5 " ,
58+ "vitepress" : " 1.0.0-beta.6 " ,
5959 "vue" : " ^3.3.4"
6060 },
6161 "peerDependencies" : {
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ const tag = computed(() => props.href ? 'a' : 'div')
1919 <FontAwesomeIcon :icon =" props.icon" ></FontAwesomeIcon >
2020 </div >
2121 <h3 class =" card-title" >{{ props.title }}</h3 >
22- <span class =" card-body" >
22+ <div class =" card-body" >
2323 <slot ></slot >
24- </span >
24+ </div >
2525 </component >
2626</template >
2727
28- <style scoped >
28+ <style >
2929.card {
3030 --vp-c-brand : initial ;
3131 border : 1px solid var (--vp-custom-block-info-border );
Original file line number Diff line number Diff line change 11<script lang="ts" setup>
2- defineProps < {
2+ defineProps ( {
33 cols: {
4- type: number ,
4+ type: Number ,
55 default: 2 ,
66 required: false
77 }
8- }>( )
8+ })
99 </script >
1010
1111<template >
You can’t perform that action at this time.
0 commit comments