Fix icon preview

This commit is contained in:
Eric Fennis
2023-04-20 15:10:57 +02:00
parent 134e7e50e2
commit e46acf4e9a
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ const iconComponent = computed(() => {
height: 100%;
position: relative;
z-index: 1;
color: #fff;
color: var(--vp-c-neutral);
opacity: 0.8;
}
</style>
@@ -14,5 +14,8 @@ onMounted(() => {
</script>
<template>
<VPDocAsideOutline v-if="data.page?.relativePath?.startsWith?.('/icons')"/>
<div>
Categories
<VPDocAsideOutline v-if="data.page?.relativePath?.startsWith?.('icons')"/>
</div>
</template>