From b4fdd1e8faa29586f82ac44a698de6b460e7c0d4 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Sat, 26 Oct 2024 23:36:06 +0800 Subject: [PATCH] style: align tab content horizontally and ignore agents.json with prettier --- .prettierignore | 1 + src/renderer/src/pages/agents/AgentsPage.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/.prettierignore b/.prettierignore index 1eb3622a0a..cfb9a4cbdd 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,3 +5,4 @@ LICENSE.md tsconfig.json tsconfig.*.json CHANGELOG*.md +agents.json diff --git a/src/renderer/src/pages/agents/AgentsPage.tsx b/src/renderer/src/pages/agents/AgentsPage.tsx index 2ab0d0e677..2dec833bff 100644 --- a/src/renderer/src/pages/agents/AgentsPage.tsx +++ b/src/renderer/src/pages/agents/AgentsPage.tsx @@ -194,6 +194,7 @@ const Tabs = styled(TabsAntd)` border-radius: 6px; margin-bottom: 5px !important; font-size: 14px; + justify-content: center; &:hover { background-color: var(--color-background-soft); }