Skip to content

Commit

Permalink
formating nits
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Nov 4, 2024
1 parent ed0d3a1 commit d54e818
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
12 changes: 3 additions & 9 deletions web/src/app/admin/documents/sets/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,35 +188,29 @@ const DocumentSetTable = ({
</TableCell>
<TableCell>
{documentSet.is_up_to_date ? (
<Badge size="md" variant="success" icon={FiCheckCircle}>
<Badge variant="success" icon={FiCheckCircle}>
Up to Date
</Badge>
) : documentSet.cc_pair_descriptors.length > 0 ? (
<Badge size="md" variant="in_progress" icon={FiClock}>
<Badge variant="in_progress" icon={FiClock}>
Syncing
</Badge>
) : (
<Badge
size="md"
variant="destructive"
icon={FiAlertTriangle}
>
<Badge variant="destructive" icon={FiAlertTriangle}>
Deleting
</Badge>
)}
</TableCell>
<TableCell>
{documentSet.is_public ? (
<Badge
size="md"
variant={isEditable ? "success" : "default"}
icon={FiUnlock}
>
Public
</Badge>
) : (
<Badge
size="md"
variant={isEditable ? "in_progress" : "outline"}
icon={FiLock}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ function ConnectorRow({
router.push(`/admin/connector/${ccPairsIndexingStatus.cc_pair_id}`);
}}
>
<TableCell className="!w-[300px]">
<p className="w-[200px] xl:w-[400px] inline-block ellipsis truncate">
<TableCell className="">
<p className="lg:w-[200px] xl:w-[400px] inline-block ellipsis truncate">
{ccPairsIndexingStatus.name}
</p>
</TableCell>
Expand Down
6 changes: 3 additions & 3 deletions web/src/components/search/filtering/Filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,9 @@ export function HorizontalSourceSelector({
icon={<FiBook size={16} />}
defaultDisplay="Sets"
resetValues={resetDocuments}
width="w-fit max-w-24 ellipsis truncate"
width="w-fit max-w-24 etext-llipsis truncate"
dropdownWidth="max-w-36 w-fit"
optionClassName="truncate break-all ellipsis"
optionClassName="truncate w-full break-all"
/>
)}

Expand Down Expand Up @@ -506,7 +506,7 @@ export function HorizontalSourceSelector({
resetValues={resetTags}
width="w-fit max-w-24 ellipsis truncate"
dropdownWidth="max-w-80 w-fit"
optionClassName="truncate break-all ellipsis"
optionClassName="truncate w-full break-all ellipsis"
/>
)}
</div>
Expand Down

0 comments on commit d54e818

Please sign in to comment.