From 5e5b618fa8c937a95106bde38863ee056c5d239f Mon Sep 17 00:00:00 2001 From: factory-ain3sh Date: Tue, 11 Aug 2026 15:59:34 -0700 Subject: [PATCH] fix(droid-control): align top row of ASCII DROID wordmark (MB-19) The wordmark art is an indented template literal terminated by .trim(), which stripped the leading newline AND the first row's 2-space indent. Every other row kept its indent, so with whiteSpace: 'pre' the top bar of each letter rendered 2 columns left of the letter body. Replace .trim() with .replace(/^\n/, '').trimEnd() to preserve the first row's indent. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> --- plugins/droid-control/remotion/src/components/DroidWordmark.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/droid-control/remotion/src/components/DroidWordmark.tsx b/plugins/droid-control/remotion/src/components/DroidWordmark.tsx index 63f73ce..558f7f8 100644 --- a/plugins/droid-control/remotion/src/components/DroidWordmark.tsx +++ b/plugins/droid-control/remotion/src/components/DroidWordmark.tsx @@ -9,7 +9,7 @@ const DROID_ASCII = ` ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ██████████ ███ ███ ██████████ ███ ██████████ -`.trim(); +`.replace(/^\n/, '').trimEnd(); export const DroidWordmark: React.FC<{ palette: Palette;