fix(ui): use dashboard typography in traces
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -2,7 +2,7 @@
|
||||
import type { CollapsibleContentProps } from 'reka-ui'
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import { reactiveOmit } from '@vueuse/core'
|
||||
import { cn } from 'cn'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { CollapsibleContent } from '@/components/ui/collapsible'
|
||||
|
||||
const props = defineProps<CollapsibleContentProps & { class?: HTMLAttributes['class'] }>()
|
||||
@@ -18,7 +18,7 @@ const delegatedProps = reactiveOmit(props, 'class')
|
||||
>
|
||||
<div
|
||||
data-slot="trace-collapsible-content-inner"
|
||||
:class="cn('mt-2 mb-1 ml-[calc(--spacing(2)-1px)] border-l pr-1 pl-4 leading-relaxed min-w-0 wrap-break-word text-muted-foreground', props.class)"
|
||||
:class="cn('mt-2 mb-1 ml-[calc(--spacing(2)-1px)] border-l pr-1 pl-4 text-label leading-relaxed min-w-0 wrap-break-word text-muted-foreground', props.class)"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import { cn } from 'cn'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
const props = defineProps<{
|
||||
status?: 'running' | 'error' | 'pending'
|
||||
|
||||
Reference in new issue
Block a user