Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/src/components/settings/SettingsScopeSentence.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function SettingsScopeSentence() {
onChange: scope.selectScope,
};
return (
<p className="flex min-w-0 flex-wrap items-center gap-x-1.5 gap-y-1 px-3 text-sm text-muted-foreground sm:px-4">
<p className="sticky top-0 z-10 -mt-6 -mb-3 flex min-w-0 flex-wrap items-center gap-x-1.5 gap-y-1 bg-background px-3 pt-6 pb-3 text-sm text-muted-foreground sm:px-4">
<span className="flex min-w-0 items-center gap-1.5">
<span className="shrink-0">Applying settings for</span>
<ProjectScopeMenu {...props} />
Expand Down Expand Up @@ -140,7 +140,7 @@ function ScopeMenu({
<Trigger
aria-label={`${ariaLabel}: ${label}`}
render={<Button variant="outline" size="sm" />}
className="min-w-0 max-w-72"
className="min-w-0 max-w-72 shrink"
>
{icon}
<span className="min-w-0 truncate">{label}</span>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/settings/settingsLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export function SettingsPageContainer({
onTargetHandled={clearTargetHash}
>
<div
className="topbar-scroll-fade scrollbar-gutter-both flex-1 overflow-y-auto"
className="topbar-scroll-fade scrollbar-gutter-both flex-1 scroll-pt-24 overflow-y-auto"
data-settings-page-scroll
>
<WorkspacePageContainer width={width} className={cn("gap-8", className)}>
Expand Down
Loading