优化侧边栏提交区域无数据时的显示样式

This commit is contained in:
xintaofei
2026-03-13 23:48:31 +08:00
parent 59e3ae624c
commit 61361c240e

View File

@@ -932,8 +932,10 @@ export function GitLogTab() {
refreshing={loading || refreshing}
/>
)}
<div className="pt-1 text-xs text-muted-foreground">
{t("noCommitsFound")}
<div className="flex items-center justify-center flex-1 p-4">
<p className="text-xs text-muted-foreground text-center">
{t("noCommitsFound")}
</p>
</div>
</div>
)