Skip to content

Commit 8aaf98c

Browse files
committed
add
1 parent b7ef5a3 commit 8aaf98c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

frontend/src/components/WriterEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ watch(() => props.messages, async (messages) => {
7070

7171
<template>
7272
<ScrollArea class="h-full overflow-y-auto p-6">
73-
<div class="max-w-4xl mx-auto space-y-6">
73+
<div class="max-w-4xl mx-auto overflow-y-auto space-y-6">
7474
<TransitionGroup name="section" tag="div" class="space-y-6">
7575
<div v-for="section in sortedSections" :key="section.id"
7676
class="bg-white rounded-lg shadow-lg overflow-hidden transform transition-all duration-500">

frontend/src/pages/task/index.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ onBeforeUnmount(() => {
6868
</Card>
6969
</TabsContent>
7070

71-
<TabsContent value="writer" class="flex-1 p-1 min-w-0 h-full">
71+
<TabsContent value="writer" class="flex-1 p-1 min-w-0 h-full overflow-auto">
7272
<Card class="min-w-0 rounded-lg">
73-
<CardContent class="p-2 h-full min-w-0 overflow-hidden">
73+
<CardContent class="p-2 h-full min-w-0 overflow-auto">
7474
<WriterEditor :messages="taskStore.writerMessages" />
7575
</CardContent>
7676
</Card>
@@ -87,7 +87,8 @@ onBeforeUnmount(() => {
8787
</template>
8888

8989
<style scoped>
90-
:deep(body), :deep(html) {
90+
:deep(body),
91+
:deep(html) {
9192
overflow: hidden;
9293
height: 100%;
9394
margin: 0;

0 commit comments

Comments
 (0)