@parhelia/localization 0.1.12565 → 0.1.12572
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -788,7 +788,7 @@ export function BatchTranslationView({ batchId, onBack, }) {
|
|
|
788
788
|
},
|
|
789
789
|
{
|
|
790
790
|
header: "Status",
|
|
791
|
-
className: "w-
|
|
791
|
+
className: "w-[14rem] min-w-[14rem]", // Keep status column width stable as content changes
|
|
792
792
|
body: (job) => {
|
|
793
793
|
const progressKey = getJobKey(job.itemId, job.targetLanguage);
|
|
794
794
|
const progress = translationProgress.get(progressKey);
|
|
@@ -796,7 +796,7 @@ export function BatchTranslationView({ batchId, onBack, }) {
|
|
|
796
796
|
(job.status === "Error"
|
|
797
797
|
? progress?.message || "Translation failed"
|
|
798
798
|
: "");
|
|
799
|
-
return (_jsxs("div", { children: [_jsx("span", { className: `inline-flex items-center rounded-full px-2.5 py-1 text-xs font-medium ${job.status === "Completed"
|
|
799
|
+
return (_jsxs("div", { className: "w-[14rem] min-w-[14rem]", children: [_jsx("span", { className: `inline-flex items-center rounded-full px-2.5 py-1 text-xs font-medium ${job.status === "Completed"
|
|
800
800
|
? "bg-green-100 text-green-700"
|
|
801
801
|
: job.status === "In Progress"
|
|
802
802
|
? ""
|