From 1444739cc6228d591da2d7d0727e891b48408a22 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 1eb3622a..cfb9a4cb 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 2ab0d0e6..2dec833b 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); }