We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92ea384 commit 7daaa9aCopy full SHA for 7daaa9a
1 file changed
docs/.vitepress/theme/VersionBadge.vue
@@ -3,6 +3,13 @@
3
const {version, pr} = defineProps(["version", "pr"]);
4
5
</script>
6
+<style>
7
+
8
+.VPBadge {
9
+ margin: -2px 0;
10
+}
11
12
+</style>
13
<template>
14
<Badge v-if="version || pr" :type="version ? `tip` : `warning`">
15
<a :href="version ? `https://github.com/observablehq/plot/releases/tag/v${version}` : `https://github.com/observablehq/plot/pull/${pr}`" :title="version ? `added in v${version}` : `added in #${pr}`" target="_blank" rel="external" style="color: inherit;">
0 commit comments