Skip to content

Commit

Permalink
styling: fix overflow on dataset selector
Browse files Browse the repository at this point in the history
  • Loading branch information
skeptrunedev authored and cdxker committed Apr 9, 2024
1 parent a6b5ca8 commit c443cd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions chat/src/components/Atoms/DatasetSelectBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ export const DatasetSelectBox = () => {
}}
onClick={onClick}
>
<div class="flex flex-row justify-start space-x-2">
<span class="line-clamp-1 text-left text-sm">
{datasetItem.dataset.name}
</span>
<div class="break-all px-1 text-left text-sm">
{datasetItem.dataset.name}
</div>
{datasetItem.dataset.id ==
userContext.currentDataset?.()?.dataset.id && (
Expand Down
6 changes: 2 additions & 4 deletions search/src/components/DatasetSelectBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ export const DatasetSelectBox = () => {
setState(false);
}}
>
<div class="flex flex-row justify-start space-x-2">
<span class="line-clamp-1 text-left text-sm">
{datasetItem.dataset.name}
</span>
<div class="break-all px-1 text-left text-sm">
{datasetItem.dataset.name}
</div>
<Show
when={
Expand Down

0 comments on commit c443cd4

Please sign in to comment.