From cb22465d859beb4ddc0cc6f36aa2643fe21ea314 Mon Sep 17 00:00:00 2001 From: Unsloth Date: Sat, 25 Jul 2026 04:35:34 -0700 Subject: [PATCH] Images Train: roomier example cards with Import on the thumbnail row --- .../images/train/example-dataset-cards.tsx | 57 ++++++++++--------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/studio/frontend/src/features/images/train/example-dataset-cards.tsx b/studio/frontend/src/features/images/train/example-dataset-cards.tsx index 678a2c3f13..d68671436b 100644 --- a/studio/frontend/src/features/images/train/example-dataset-cards.tsx +++ b/studio/frontend/src/features/images/train/example-dataset-cards.tsx @@ -111,45 +111,46 @@ export function ExampleDatasetCards({ {examples.map((ex) => (
-
-
-
- {/* Both are truncated, so the full text lives in a tooltip. */} - - - - {shortExampleLabel(ex.label)} - - - {ex.label} - - - - - {ex.license} - - - {ex.license} - -
-

- {ex.description} -

-
+
+ {/* Both are truncated, so the full text lives in a tooltip. */} + + + + {shortExampleLabel(ex.label)} + + + {ex.label} + + + + + {ex.license} + + + {ex.license} + +
+

+ {ex.description} +

+ {/* Import is the card's action, so it sits at the bottom right, on the + thumbnail row, instead of floating beside the text. */} +
+
-
))}