Skip to content

Commit 2c3ea35

Browse files
committed
fix: update styles in content elements
1 parent 69fc7ad commit 2c3ea35

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

components/app/AppAlert.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const hoverBorderColor = computed(() => {
7878
</script>
7979

8080
<template>
81-
<component :is="to ? NuxtLink : 'div'" :to="to" class="not-prose block my-4 px-4 py-3 focus:outline-none border rounded-md text-sm text-gray-950 dark:text-white" :class="[{ 'border-dashed hover:border-solid': to }, borderColor, to ? hoverBorderColor : '']">
81+
<component :is="to ? NuxtLink : 'div'" :to="to" class="block my-4 px-4 py-3 focus:outline-none border rounded-md text-sm text-gray-950 dark:text-white" :class="[{ 'border-dashed hover:border-solid': to }, borderColor, to ? hoverBorderColor : '']">
8282
<span :class="[icon, iconColor]" class="w-4 h-4 inline-flex items-center align-sub mr-2" aria-hidden="true" />
8383
<slot />
8484
</component>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<code class="mx-1px px-[0.375rem] py-[0.2rem] rounded-md font-mono font-400 bg-primary/30 dark:bg-primary/40 before:content-[''] after:content-['']">
2+
<code class="mx-1px px-[0.375rem] py-[0.2rem] rounded-md font-mono font-normal bg-primary/30 dark:bg-primary/40 before:content-[''] after:content-['']">
33
<slot />
44
</code>
55
</template>

components/content/ReadMore.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const computedTitle = computed<string>(() => props.title || createBreadcrumb(pro
3232
</script>
3333

3434
<template>
35-
<AppAlert icon="i-ph-bookmark-simple-duotone" :to="to">
35+
<AppAlert icon="i-ph-bookmark-simple-duotone" :to="to" class="not-prose">
3636
<MDCSlot unwrap="p">
3737
Read more in <span class="font-bold" v-html="computedTitle" />.
3838
</MDCSlot>

0 commit comments

Comments
 (0)