From be09fe92da5d204fa687bc8217b0fc711a7d32b2 Mon Sep 17 00:00:00 2001 From: elihahah666 Date: Fri, 29 May 2026 15:33:57 +0800 Subject: [PATCH 01/13] fix: keep settings/handoff/avatar buttons fixed to the right in project header (#3279) Move the three buttons (settings, handoff, avatar) from fileActionsBefore to the actions slot so they always stay pinned to the right edge of the header, regardless of how many extra controls (Share, Present, etc.) are injected via portal during HTML preview. Co-authored-by: qiongyu1999 <2694684348@qq.com> Co-authored-by: Claude Opus 4 --- apps/web/src/components/ProjectView.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/apps/web/src/components/ProjectView.tsx b/apps/web/src/components/ProjectView.tsx index e5c317a3c..02aaa4e62 100644 --- a/apps/web/src/components/ProjectView.tsx +++ b/apps/web/src/components/ProjectView.tsx @@ -4272,6 +4272,12 @@ export function ProjectView({ onBack={onBack} backLabel={t('project.backToProjects')} fileActionsBefore={( +
+ )} + actions={( <>