diff --git a/packages/engine/src/format.test.ts b/packages/engine/src/format.test.ts
index e755722..197236f 100644
--- a/packages/engine/src/format.test.ts
+++ b/packages/engine/src/format.test.ts
@@ -74,7 +74,7 @@ describe('formatSummaryComment', () => {
test('shows the status image from the Console when there is one', () => {
const body = formatSummaryComment({ ...base, images: 'https://cloud.appwrite.io' });
expect(body).toContain(
- '| `abcdef1` | _Reviewed_ |'
+ '| `abcdef1` | _Reviewed_ |'
);
});
@@ -223,7 +223,7 @@ describe('statusCell', () => {
test('animates the running state and keeps the label', () => {
expect(statusCell('building', 'Reviewing', 'https://cloud.appwrite.io')).toBe(
- ' _Reviewing_'
+ ' _Reviewing_'
);
});
});
diff --git a/packages/engine/src/format.ts b/packages/engine/src/format.ts
index 4b4f257..a63d658 100644
--- a/packages/engine/src/format.ts
+++ b/packages/engine/src/format.ts
@@ -489,6 +489,10 @@ export type StatusImage = 'waiting' | 'building' | 'ready' | 'failed';
* and the label in italics. `images` is the Console's origin; without it, or with no image for
* this state, the cell is the label alone, as Appwrite writes it for providers that cannot show
* images from another host.
+ *
+ * The image is `align="absmiddle"` (CSS `vertical-align: middle`), so the label sits on the
+ * image's centre line. Appwrite's `align="center"` maps to `-webkit-baseline-middle`, which
+ * puts the image's centre on the text baseline and leaves the label riding high.
*/
export function statusCell(image: StatusImage | null, label: string, images?: string): string {
const text = `_${label}_`;
@@ -497,7 +501,7 @@ export function statusCell(image: StatusImage | null, label: string, images?: st
const src = (theme: 'light' | 'dark') =>
`${images}/images/vcs/status-${image}-${theme}.${extension}`;
const alt = label.replace(/"/g, '"');
- return ` ${text}`;
+ return ` ${text}`;
}
/** A collapsible section, as Appwrite's deployment comments group Sites and Functions. */
diff --git a/packages/engine/src/progress.test.ts b/packages/engine/src/progress.test.ts
index 310b398..0a0297c 100644
--- a/packages/engine/src/progress.test.ts
+++ b/packages/engine/src/progress.test.ts
@@ -63,7 +63,7 @@ test('the status row shows the animated image while running, and the state image
{ headSha: sha, mention: '@hansi', previous: false, images }
);
expect(running).toContain(
- ' _Verifying 2 possible findings_'
+ ' _Verifying 2 possible findings_'
);
const image = (status: Parameters[0]) =>
statusBlock(status, { headSha: sha, mention: '@hansi', previous: true, images }).match(