diff --git a/vibn-frontend/app/[workspace]/project/[projectId]/(home)/code/page.tsx b/vibn-frontend/app/[workspace]/project/[projectId]/(home)/code/page.tsx index a6ec56c..96cedd0 100644 --- a/vibn-frontend/app/[workspace]/project/[projectId]/(home)/code/page.tsx +++ b/vibn-frontend/app/[workspace]/project/[projectId]/(home)/code/page.tsx @@ -408,11 +408,13 @@ const railGroupHeader: React.CSSProperties = { display: "flex", alignItems: "center", justifyContent: "space-between", - padding: "20px 20px 12px 20px", + padding: "10px 20px", position: "sticky", top: 0, background: THEME.cardBg, zIndex: 10, + height: "41px", + boxSizing: "border-box", }; const railGroupTitle: React.CSSProperties = { fontSize: "0.95rem", diff --git a/vibn-frontend/components/project/gitea-file-viewer.tsx b/vibn-frontend/components/project/gitea-file-viewer.tsx index 7f65905..fd11f9a 100644 --- a/vibn-frontend/components/project/gitea-file-viewer.tsx +++ b/vibn-frontend/components/project/gitea-file-viewer.tsx @@ -154,6 +154,8 @@ export function GiteaFileViewer({ projectId, path }: GiteaFileViewerProps) { padding: "10px 16px", background: THEME.subtleBg, borderBottom: `1px solid ${THEME.borderSoft}`, + height: "41px", + boxSizing: "border-box", }} >