fix(web): tighten sidebar search and footer spacing (#11466)
This commit is contained in:
1 parent
c1ff6ab3d6
commit
b0c6c3b2fd
4 files changed
+4
-4
No files matched your search
@@ -4325,7 +4325,7 @@ export default function Sidebar() {
|
||||
fixedHeader={
|
||||
// Lifted above the stage backdrop, whose fade bleeds below the
|
||||
// header and would otherwise paint across the search row's outline.
|
||||
<SidebarGroup className="relative z-[1] p-[var(--sidebar-content-inset)]">
|
||||
<SidebarGroup className="relative z-[1] p-[var(--sidebar-content-inset)] pt-1">
|
||||
<SidebarThreadHeader
|
||||
searchFieldRef={headerSearchRef}
|
||||
hasProjects={projectGroups.length > 0}
|
||||
|
||||
@@ -342,7 +342,7 @@ export function SettingsSidebarNav({ pathname }: { pathname: string }) {
|
||||
)}
|
||||
</SidebarGroup>
|
||||
</SidebarContent>
|
||||
<SidebarFooter className="p-[var(--sidebar-content-inset)]">
|
||||
<SidebarFooter className="px-[var(--sidebar-content-inset)] py-1">
|
||||
<Suspense fallback={null}>
|
||||
<T3ConnectSidebarSignIn />
|
||||
</Suspense>
|
||||
|
||||
@@ -223,7 +223,7 @@ export const SidebarUtilityMenu = memo(function SidebarUtilityMenu() {
|
||||
|
||||
export const SidebarChromeFooter = memo(function SidebarChromeFooter() {
|
||||
return (
|
||||
<SidebarFooter className="p-[var(--sidebar-content-inset)]">
|
||||
<SidebarFooter className="px-[var(--sidebar-content-inset)] py-1">
|
||||
<SidebarProviderUpdatePill />
|
||||
<SidebarUpdateArchitectureWarning />
|
||||
<SidebarUtilityMenu />
|
||||
|
||||
@@ -703,7 +703,7 @@ function SidebarContent({
|
||||
hideScrollbars
|
||||
scrollFade
|
||||
scrollFadePadding={false}
|
||||
className="h-auto min-h-0 flex-1"
|
||||
className="h-auto min-h-0 flex-1 [&>[data-slot=scroll-area-viewport]]:[--fade-size:0.75rem]"
|
||||
>
|
||||
<div
|
||||
// Reordered rows must not pull the viewport to their new position.
|
||||
|
||||
Reference in new issue
Block a user