Skip to content

Commit fc36f69

Browse files
authored
fix(ProseCallout): add inline-block class to icon (#5317)
1 parent 93e2cd0 commit fc36f69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/theme/prose/callout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { NuxtOptions } from '@nuxt/schema'
33
export default (options: Required<NuxtOptions['ui']>) => ({
44
slots: {
55
base: ['group relative block px-4 py-3 rounded-md text-sm/6 my-5 last:mb-0 [&_code]:text-xs/5 [&_code]:bg-default [&_pre]:bg-default [&>div]:my-2.5 [&_ul]:my-2.5 [&_ol]:my-2.5 [&>*]:last:!mb-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:my-0', options.theme.transitions && 'transition-colors'],
6-
icon: ['size-4 shrink-0 align-sub me-1.5', options.theme.transitions && 'transition-colors'],
6+
icon: ['size-4 shrink-0 align-sub me-1.5 inline-block', options.theme.transitions && 'transition-colors'],
77
externalIcon: ['size-4 align-top absolute right-2 top-2 pointer-events-none', options.theme.transitions && 'transition-colors']
88
},
99
variants: {

0 commit comments

Comments
 (0)