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
2 changes: 1 addition & 1 deletion src/react/components/DatasetHealthDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const DatasetHealthDialog: React.FC<DatasetHealthDialogProps> = ({

return (
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="max-w-5xl h-[85vh] max-h-[85vh] flex flex-col p-0 gap-0 overflow-hidden">
<DialogContent className="w-[80vw] max-w-[80vw] h-[85vh] max-h-[85vh] flex flex-col p-0 gap-0 overflow-hidden">
<DialogHeader className="space-y-0 flex flex-row items-center justify-start gap-4 w-full px-6 py-4 border-b border-border shrink-0">
<DialogTitle className="text-lg font-semibold">
{t('health.validation.dialog.title')}
Expand Down
5 changes: 3 additions & 2 deletions src/react/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export const Navbar: React.FC<NavbarProps> = ({

{/* Center: Title & Logo */}
<div
className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 flex items-center gap-2 pointer-events-none"
className="absolute left-1/2 top-1/2 flex max-w-[40vw] -translate-x-1/2 -translate-y-1/2 items-center gap-2 pointer-events-none"
role={isLoading ? 'status' : undefined}
aria-live={isLoading ? 'polite' : undefined}
>
Expand All @@ -282,7 +282,8 @@ export const Navbar: React.FC<NavbarProps> = ({
<img src="logo.svg" alt="LeRobot Studio Logo" className="h-5 w-5 opacity-90" />
) : null}
<span
className={`text-sm font-semibold tracking-tight ${isLoading ? 'text-muted-foreground animate-pulse' : ''}`}
className={`block min-w-0 truncate text-sm font-semibold tracking-tight ${isLoading ? 'text-muted-foreground animate-pulse' : ''}`}
title={displayName}
>
{displayName}
</span>
Expand Down
11 changes: 0 additions & 11 deletions src/react/components/panels/ChartPanel/ChartPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1387,17 +1387,6 @@ const ChartPanelContent: React.FC<ChartPanelProps> = ({ params }) => {
)}
</>
)}
{preparedData?.meta?.simplified && (
<div className="flex items-center ml-2">
<span className="text-[9px] font-mono text-muted-foreground/60 bg-muted/40 px-1.5 py-0.5 rounded border border-border/50">
{t('chart.sampling.enabled', {
originalPoints: preparedData.meta.originalPoints,
displayedPoints: preparedData.meta.displayedPoints,
stride: preparedData.meta.stride,
})}
</span>
</div>
)}
</div>
</div>

Expand Down