From 8ec4bbb2987f1ddcec8a9d5bf23f74caedafaeb4 Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Tue, 15 Jul 2025 10:48:33 +0800 Subject: [PATCH] fix(core): comment empty style issue (#13208) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix BS-3618 #### PR Dependency Tree * **PR #13208** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) ## Summary by CodeRabbit * **Style** * Improved the appearance of the empty state in the comment sidebar by centering the text and adjusting line spacing for better readability. --- .../frontend/core/src/components/comment/sidebar/style.css.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/frontend/core/src/components/comment/sidebar/style.css.ts b/packages/frontend/core/src/components/comment/sidebar/style.css.ts index 10d7db7c76..9f431c4f58 100644 --- a/packages/frontend/core/src/components/comment/sidebar/style.css.ts +++ b/packages/frontend/core/src/components/comment/sidebar/style.css.ts @@ -42,6 +42,8 @@ export const empty = style({ padding: 32, display: 'flex', alignItems: 'center', + textAlign: 'center', + lineHeight: '24px', justifyContent: 'center', color: cssVarV2('text/secondary'), });