File tree Expand file tree Collapse file tree
.vitepress/theme/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,29 +39,29 @@ const formatDate = (date) => {
3939 </VPDoc >
4040</template >
4141
42- <style >
42+ <style scoped lang="less" >
4343.post-meta {
4444 color : var (--vp-c-text-2 );
4545 font-size : small ;
4646 margin : 1rem 0 2rem 0 ;
47- }
4847
49- .post-date {
50- display : flex ;
51- align-items : center ;
52- }
48+ .post-date {
49+ display : flex ;
50+ align-items : center ;
5351
54- .post-date > svg {
55- width : 12px ;
56- height : 12px ;
57- margin-right : 5px ;
58- }
52+ > svg {
53+ width : 12px ;
54+ height : 12px ;
55+ margin-right : 5px ;
56+ }
57+ }
5958
60- .post-tags {
61- margin : 0 !important ;
62- }
59+ .post-tags {
60+ margin : 0 !important ;
6361
64- .post-tags > span {
65- margin-right : 8px ;
62+ > span {
63+ margin-right : 8px ;
64+ }
65+ }
6666}
6767 </style >
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ const {
1212<template >
1313 <div class =" tag-group" >
1414 <span
15- v-for =" ({tag, cnt}) in tags"
15+ v-for =" ({ tag, cnt }) in tags"
1616 :class =" { tag: true, active: activeTags.indexOf(tag) >= 0 }"
1717 @click =" onToggle(tag)"
1818 >
19- {{tag}}({{cnt}})
19+ {{ tag }}({{ cnt }})
2020 </span >
2121 </div >
2222</template >
@@ -31,7 +31,7 @@ const {
3131 background : var (--vp-c-gray-soft );
3232 font-size : 12px ;
3333 line-height : 16px ;
34- padding : 4 px 8px ;
34+ padding : 2 px 8 px 3 px 8px ;
3535 border-radius : 50px ;
3636 cursor : pointer ;
3737
You can’t perform that action at this time.
0 commit comments