Skip to content

Commit

Permalink
Merge pull request #2629 from danswer-ai/hotfix/v0.6-prompt-overflow
Browse files Browse the repository at this point in the history
Hotfix/v0.6 prompt overflow
  • Loading branch information
rkuo-danswer authored Sep 30, 2024
2 parents c28a8d8 + 2fd557c commit be4aef8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CONTRIBUTING_MACOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ MacOS will likely require you to remove some quarantine attributes on some of th
After installing pre-commit, run the following command:
```bash
sudo xattr -r -d com.apple.quarantine ~/.cache/pre-commit
```
```

doc version 0.1
13 changes: 11 additions & 2 deletions web/src/app/admin/prompt-library/promptLibrary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const PromptLibraryTable = ({
))}
</div>
</div>
<div className="mx-auto">
<div className="mx-auto overflow-x-auto">
<Table>
<TableHead>
<TableRow>
Expand All @@ -220,7 +220,16 @@ export const PromptLibraryTable = ({
.map((item) => (
<TableRow key={item.id}>
<TableCell>{item.prompt}</TableCell>
<TableCell>{item.content}</TableCell>
<TableCell
className="
max-w-xs
overflow-hidden
text-ellipsis
break-words
"
>
{item.content}
</TableCell>
<TableCell>{item.active ? "Active" : "Inactive"}</TableCell>
<TableCell>
<button
Expand Down

0 comments on commit be4aef8

Please sign in to comment.