Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions dashboard/src/components/Checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,21 @@ const Checkbox = ({
'border-blue': isChecked,
})}
>
<input type="checkbox" checked={isChecked} onChange={onToggle} />
<input
className="mr-4"
type="checkbox"
checked={isChecked}
onChange={onToggle}
/>
{shouldTruncateResult ? (
<Tooltip>
<TooltipTrigger asChild>
<span className="ml-4">{truncatedText}</span>
<span>{truncatedText}</span>
</TooltipTrigger>
<TooltipContent>{text}</TooltipContent>
</Tooltip>
) : (
<span className="ml-4">{truncatedText}</span>
<span>{truncatedText}</span>
)}
</label>
);
Expand Down
8 changes: 4 additions & 4 deletions dashboard/src/components/Filter/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const DrawerHeader = (): JSX.Element => {
return (
<header className="mb-7 w-full">
<DrawerTitle>
<div className="mx-auto mb-4 flex w-[1400px] items-center justify-between">
<div className="mx-auto mb-4 flex max-w-[1400px] items-center justify-between">
<span className="text-2xl/[42px] font-bold">
<FormattedMessage id="filter.filtering" />
</span>
Expand All @@ -58,12 +58,12 @@ const DrawerHeader = (): JSX.Element => {
const DrawerLink = ({ title, value, url }: IDrawerLink): JSX.Element => {
return (
<div className="mb-8 flex items-center justify-between">
<div className="border-dark-gray flex h-[52px] w-full flex-col border bg-white px-4 py-2">
<div className="border-dark-gray flex min-h-[52px] max-w-full flex-col border bg-white px-4 py-2">
<span className="text-dark-gray2 text-xs">
<FormattedMessage id={title} />
</span>
<a
className="text-dim-black text-base underline"
className="text-dim-black text-base break-all underline"
Comment thread
gustavobtflores marked this conversation as resolved.
href={url ?? '#'}
target={url ? '_blank' : undefined}
rel="noreferrer"
Expand Down Expand Up @@ -168,7 +168,7 @@ const Drawer = ({
<DrawerHeader />
<section className="h-full overflow-y-auto">
{drawerLinkComponent}
<div className="w-[1000px] rounded-lg bg-white px-6 py-5">
<div className="w-auto rounded-lg bg-white px-6 py-5">
{showLegend && <Legend />}
<div>{children}</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/hooks/useLogData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const processLogData = (
: undefined;

const logExcerptFileLink = data?.output_files?.find(
file => file && file['name'] === 'log_excerpt',
file => file?.['name'] === 'log_excerpt',
Comment thread
gustavobtflores marked this conversation as resolved.
)?.['url'];

return {
Expand Down
Loading