This commit is contained in:
dap
2024-12-19 07:49:46 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ const delegatedProps = computed(() => {
> >
<ScrollAreaViewport <ScrollAreaViewport
as-child as-child
class="h-full w-full rounded-[inherit]" class="h-full w-full rounded-[inherit] focus:outline-none"
@scroll="onScroll" @scroll="onScroll"
> >
<slot></slot> <slot></slot>

View File

@@ -100,7 +100,7 @@ onMounted(() => {
</div> </div>
</div> </div>
<div :class="contentClass" :style="contentStyle" class="h-full p-4"> <div :class="cn('h-full p-4', contentClass)" :style="contentStyle">
<slot></slot> <slot></slot>
</div> </div>