@@ -54,13 +54,13 @@ const typesHref = computed(() => {
5454<template >
5555 <ul v-if =" analysis" class =" flex items-center gap-1.5 list-none m-0 p-0" >
5656 <!-- TypeScript types badge -->
57- <li v-if =" !props.isBinary" >
57+ <li v-if =" !props.isBinary" class = " contents " >
5858 <TooltipApp :text =" typesTooltip" >
5959 <component
6060 :is =" typesHref ? NuxtLink : 'span'"
6161 :to =" typesHref"
6262 :tabindex =" !typesHref ? 0 : undefined"
63- class =" inline- flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs rounded transition-colors duration-200 focus-visible:(outline-2 outline-accent)"
63+ class =" flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs rounded transition-colors duration-200 focus-visible:(outline-2 outline-accent)"
6464 :class =" [
6565 hasTypes
6666 ? 'text-fg-muted bg-bg-muted border border-border'
@@ -81,11 +81,11 @@ const typesHref = computed(() => {
8181 </li >
8282
8383 <!-- ESM badge (show with X if missing) -->
84- <li >
84+ <li class = " contents " >
8585 <TooltipApp :text =" hasEsm ? $t('package.metrics.esm') : $t('package.metrics.no_esm')" >
8686 <span
8787 tabindex =" 0"
88- class =" inline- flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs rounded transition-colors duration-200 focus-visible:(outline-2 outline-accent)"
88+ class =" flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs rounded transition-colors duration-200 focus-visible:(outline-2 outline-accent)"
8989 :class ="
9090 hasEsm
9191 ? 'text-fg-muted bg-bg-muted border border-border'
@@ -103,11 +103,11 @@ const typesHref = computed(() => {
103103 </li >
104104
105105 <!-- CJS badge (only show if present) -->
106- <li v-if =" hasCjs" >
106+ <li v-if =" hasCjs" class = " contents " >
107107 <TooltipApp :text =" $t('package.metrics.cjs')" >
108108 <span
109109 tabindex =" 0"
110- class =" inline- flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs text-fg-muted bg-bg-muted border border-border rounded transition-colors duration-200 focus-visible:(outline-2 outline-accent)"
110+ class =" flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs text-fg-muted bg-bg-muted border border-border rounded transition-colors duration-200 focus-visible:(outline-2 outline-accent)"
111111 >
112112 <span class =" i-carbon-checkmark w-3 h-3" aria-hidden =" true" />
113113 CJS
0 commit comments