authorgravatar for 76637177+SunkenInTime@users.noreply.github.comDara Adedeji <76637177+SunkenInTime@users.noreply.github.com> 2026-08-29 02:06:52-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-28 23:06:52-07:00
log074bcd6dc897f9c28b1bbc04737daa6ee3d8e40f
tree9c5ba386ca618dd19c1a97023785405479e37683
parent5e63aea2df03e8ccc5c8a56cee4c067ecbd3d703
signature Signed by PGP key B5690EEEBB952194

fix(web): keep project picker popup inside the sidebar (#8627)


3 files changed, 6 insertions(+), 3 deletions(-)

apps/web/src/components/DiffPanel.tsx+1-1
......@@ -617,7 +617,7 @@ export default function DiffPanel({
617617 </ComboboxTrigger>
618618 <ComboboxPopup
619619 align="start"
620 className="w-72 min-w-0 max-w-[calc(100vw-1rem)] overflow-hidden [&>[data-slot=combobox-popup]]:min-w-0 [&>[data-slot=combobox-popup]]:overflow-hidden"
620 className="w-72 min-w-0 max-w-[calc(100vw-1rem)] overflow-hidden"
621621 >
622622 <div className="min-w-0 shrink-0 px-3 pt-2.5">
623623 <div className="relative -translate-y-px border-b border-border/70 pb-1.5 transition-colors focus-within:border-ring">
apps/web/src/components/Sidebar.tsx+4-1
......@@ -3586,7 +3586,10 @@ export default function Sidebar() {
35863586 </span>
35873587 <ChevronDownIcon className="-mr-px size-4 shrink-0" />
35883588 </ComboboxTrigger>
3589 <ComboboxPopup align="start" className="w-(--anchor-width)">
3589 <ComboboxPopup
3590 align="start"
3591 className="w-(--anchor-width) min-w-0 overflow-hidden"
3592 >
35903593 <div className="shrink-0 px-3 pt-2.5">
35913594 <div className="relative -translate-y-px border-b border-border/70 pb-1.5 transition-colors focus-within:border-ring">
35923595 <SearchIcon
apps/web/src/components/ui/combobox.tsx+1-1
......@@ -175,7 +175,7 @@ function ComboboxPopup({
175175 )}
176176 >
177177 <ComboboxPrimitive.Popup
178 className="flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground"
178 className="flex min-w-0 max-h-[min(var(--available-height),23rem)] flex-1 flex-col overflow-hidden text-foreground"
179179 data-slot="combobox-popup"
180180 {...props}
181181 >