Skip to content

Commit bf442c3

Browse files
committed
Fixed Badges
1 parent 9869df5 commit bf442c3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.vitepress/theme/components/StatusBadge.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ defineProps<{ type: string, text:string, title:string }>()
1212
1313
import { withBase } from 'vitepress'
1414
function click() {
15-
location.href = withBase('../releases/index#feature-status-badges')
15+
location.href = withBase('/releases/index#feature-status-badges')
1616
}
1717
</script>

.vitepress/theme/styles.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ html {
7474
font-weight: 600;
7575
font-size: 48px;
7676
font-family: var(--vp-font-family-avenir);
77+
.VPBadge {
78+
-webkit-text-fill-color: initial;
79+
font-size: .7em;
80+
}
7781
}
7882

7983

0 commit comments

Comments
 (0)