fix(05-02): alert alignment via #title slot, dark-only code theme, simplify ProseImg
This commit is contained in:
@@ -27,7 +27,7 @@ const colorMap = {
|
||||
variant="soft"
|
||||
class="my-4"
|
||||
>
|
||||
<template #description>
|
||||
<template #title>
|
||||
<slot />
|
||||
</template>
|
||||
</UAlert>
|
||||
|
||||
@@ -18,7 +18,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
:title="props.title"
|
||||
:width="props.width"
|
||||
:height="props.height"
|
||||
format="webp"
|
||||
class="rounded-lg w-full"
|
||||
sizes="sm:600px md:800px lg:1000px"
|
||||
/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user