From 195bc326334bf75908e6baef06914625cb46ecab Mon Sep 17 00:00:00 2001 From: June Kim Date: Mon, 11 May 2026 21:48:56 -0700 Subject: [PATCH 1/2] fix: inconsistent left padding in preview window file path truncation The file path in the code preview panel showed inconsistent left padding when truncated. The .truncate-start CSS class used direction: rtl with text-align: left, which caused the flex layout to render inconsistently with the gutter width calculation. Changed text-align from left to right to properly align RTL text and eliminate the padding inconsistency. Fixes #103 Closes #1196 --- packages/web/src/app/globals.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/app/globals.css b/packages/web/src/app/globals.css index ca00492d2..4ac6d9758 100644 --- a/packages/web/src/app/globals.css +++ b/packages/web/src/app/globals.css @@ -307,7 +307,7 @@ .truncate-start { direction: rtl; - text-align: left; + text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; From cc6d83840dd91a0c5fc77a59afc6dade6a95ee26 Mon Sep 17 00:00:00 2001 From: June Kim Date: Mon, 11 May 2026 21:49:15 -0700 Subject: [PATCH 2/2] chore: update CHANGELOG for #1196 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37b29a349..c45d47f3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Upgraded `hono` to `^4.12.18` to address CVE-2026-44455, CVE-2026-44456, CVE-2026-44457, CVE-2026-44458. [#1186](https://github.com/sourcebot-dev/sourcebot/pull/1186) - Upgraded `ip-address` to `^10.2.0` to address CVE-2026-42338. [#1189](https://github.com/sourcebot-dev/sourcebot/pull/1189) - Upgraded `fast-xml-builder` to `^1.2.0` to address CVE-2026-44664, CVE-2026-44665. [#1184](https://github.com/sourcebot-dev/sourcebot/pull/1184) +- Fixed inconsistent left padding in preview window file path truncation. [#1196](https://github.com/sourcebot-dev/sourcebot/issues/1196) ### Changed - Reduced the log verbosity of the worker by changing various log messages from info to debug. [#1179](https://github.com/sourcebot-dev/sourcebot/pull/1179)