* Nuxt 3.17.4 and other dependencies updated * Temporary fix (maybe) of the Inline Code
This commit is contained in:
@@ -24,9 +24,11 @@ defineProps({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<code
|
||||
class="font-mono bg-neutral-200 dark:bg-neutral-800 rounded border-2 border-neutral-300 dark:border-neutral-700 p-0.5 no-backticks"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
</code>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
@@ -34,4 +36,8 @@ pre code .line {
|
||||
display: block;
|
||||
min-height: 1rem;
|
||||
}
|
||||
.no-backticks::before,
|
||||
.no-backticks::after {
|
||||
content: '' !important; /* Hide backticks */
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user