Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style(environment): keep workspace tabs and actions on one row (#21522)

Rdmclin2341baca64e83
diff --git a/src/routes/(main)/[workspaceSlug]/settings/environments/index.tsx b/src/routes/(main)/[workspaceSlug]/settings/environments/index.tsx
index 28309d5bf0e..75d2c76a632 100644
--- a/src/routes/(main)/[workspaceSlug]/settings/environments/index.tsx
+++ b/src/routes/(main)/[workspaceSlug]/settings/environments/index.tsx
@@ -38,6 +38,9 @@ const WorkspaceEnvironmentsSetting = memo(() => {
tabs={
<Tabs
activeKey={visibility}
+ // Tabs fill their container by default, which pushed the actions
+ // onto a second row; size to the tabs so both share one.
+ style={{ width: 'auto' }}
items={[
{
icon: <Icon icon={UsersIcon} />,